Template:Localized string: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(add 'L10n' namespace as source of strings to shorten call syntax)
(change parameter name from "ns" to "nsp" to avoid conflict with MagicWord)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexist: Translations:L10n:{{{1}}}/{{PageLangCode}}
{{#if: {{{nsp|}}}
  |{{Translations:L10n:{{{1}}}/{{PageLangCode}}}}
  |{{#ifexist: Translations:{{{nsp}}}:{{{1}}}/{{PageLangCode}}
  |{{Translations:L10n:{{{1}}}/en}}
    |{{Translations:{{{nsp}}}:{{{1}}}/{{PageLangCode}}}}
    |{{Translations:{{{nsp}}}:{{{1}}}/en}}
  }}
  |{{#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. -->
</noinclude>
</noinclude>

Latest revision as of 23:07, 20 April 2018

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

Template documentation[create]