Difference between revisions of "Template:L10n/row"
(removed fannotes handling, corrected lang status handling) |
(added tooltip text for Persian) |
||
Line 1: | Line 1: | ||
<includeonly><tr class="template-infotable-body table-l10n-body-row"> | <includeonly><tr class="template-infotable-body table-l10n-body-row"> | ||
− | <th scope="row" class="table-l10n-body-parameter">[[Supported language::{{{lang}}}| ]]{{# | + | <th scope="row" class="table-l10n-body-parameter">[[Supported language::{{{lang}}}| ]]{{#switch:{{{lang|}}} |
+ | |Persian={{abbr|Persian|Also known as Farsi}} | ||
+ | |Latin American Spanish={{abbr|Latin American Spanish|May be listed as Mexican Spanish or require OS language setting (see notes).}} | ||
+ | |#default={{{lang|}}} | ||
+ | }}</th> | ||
<td class="table-l10n-body-rating-ui">{{Tickcross|{{{ui}}}|{{{lang}}} interface|{{{notes|}}}}}</td> | <td class="table-l10n-body-rating-ui">{{Tickcross|{{{ui}}}|{{{lang}}} interface|{{{notes|}}}}}</td> | ||
<td class="table-l10n-body-rating-audio">{{Tickcross-na-nr|{{{audio}}}|{{{lang}}} audio|{{{notes|}}}}}</td> | <td class="table-l10n-body-rating-audio">{{Tickcross-na-nr|{{{audio}}}|{{{lang}}} audio|{{{notes|}}}}}</td> |
Revision as of 05:11, 16 May 2019
This template is what construct each row and cell used when calling Template:L10n/switch. While Template:L10n/switch filters out unsupported from supported languages, this row is the one that does the actual magic and building of each row, based on the parameters sent to it by Template:L10n/switch.
It's important to understand and remember that Template:L10n/switch also performs variable/parameter translation, so the variables used in the code of Template:L10n/row is not or might not be the same that is visible to the end-user who sees the Template:L10n/switch call. Check the code for Template:L10n/switch out to learn and understand what variables/parameters translations are performed before Template:L10n/row is called.
Current template issues:
- References in the notes field break the table and/or property assignment.