Template:Localized string: Difference between revisions
Jump to navigation
Jump to search
fix if function (missing colon) |
correct way of processing namespace parameter |
||
| Line 1: | Line 1: | ||
{{#ifexist: Translations:{{ | {{#if: {{{ns|}}} | ||
|{{#ifexist: Translations:{{{ns}}}:{{{1}}}/{{PageLangCode}} | |||
|{{{ns}}}: | |{{Translations:{{{ns}}}:{{{1}}}/{{PageLangCode}}}} | ||
| | |{{Translations:{{{ns}}}:{{{1}}}/en}} | ||
}}{{{1}}}/{{PageLangCode}} | }} | ||
|{{#ifexist: Translations:L10n:{{{1}}}/{{PageLangCode}} | |||
|{{Translations:L10n:{{{1}}}/{{PageLangCode}}}} | |||
|{{Translations:L10n:{{{1}}}/en}} | |||
}} | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here. Thanks. --> | <!-- Add categories and interwikis to the /doc subpage, not here. Thanks. --> | ||
</noinclude> | </noinclude> | ||