Template:Localized string: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(fix if function (missing colon))
(change parameter name from "ns" to "nsp" to avoid conflict with MagicWord)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifexist: Translations:{{
{{#if: {{{nsp|}}}
    #if: {{{ns|}}}
  |{{#ifexist: Translations:{{{nsp}}}:{{{1}}}/{{PageLangCode}}
     |{{{ns}}}:
     |{{Translations:{{{nsp}}}:{{{1}}}/{{PageLangCode}}}}
     |L10n:
     |{{Translations:{{{nsp}}}:{{{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>

Latest revision as of 23:07, 20 April 2018

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

Template documentation[create]