Template:Localized string: Difference between revisions

From Miranda NG
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|}}}
    #if: {{{ns|}}}
  |{{#ifexist: Translations:{{{ns}}}:{{{1}}}/{{PageLangCode}}
     |{{{ns}}}:
     |{{Translations:{{{ns}}}:{{{1}}}/{{PageLangCode}}}}
     |L10n:
     |{{Translations:{{{ns}}}:{{{1}}}/en}}
   }}{{{1}}}/{{PageLangCode}}
   }}
  |{{Translations:L10n:{{{1}}}/{{PageLangCode}}}}
  |{{#ifexist: Translations:L10n:{{{1}}}/{{PageLangCode}}
  |{{Translations:L10n:{{{1}}}/en}}
    |{{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>

Revision as of 21:38, 20 April 2018

{{Translations:L10n:{{{1}}}/en}}

Template documentation[create]