Template:Localized string: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(correct way of processing namespace parameter)
(change parameter name from "ns" to "nsp" to avoid conflict with MagicWord)
 
Line 1: Line 1:
{{#if: {{{ns|}}}
{{#if: {{{nsp|}}}
   |{{#ifexist: Translations:{{{ns}}}:{{{1}}}/{{PageLangCode}}
   |{{#ifexist: Translations:{{{nsp}}}:{{{1}}}/{{PageLangCode}}
     |{{Translations:{{{ns}}}:{{{1}}}/{{PageLangCode}}}}
     |{{Translations:{{{nsp}}}:{{{1}}}/{{PageLangCode}}}}
     |{{Translations:{{{ns}}}:{{{1}}}/en}}
     |{{Translations:{{{nsp}}}:{{{1}}}/en}}
   }}
   }}
   |{{#ifexist: Translations:L10n:{{{1}}}/{{PageLangCode}}
   |{{#ifexist: Translations:L10n:{{{1}}}/{{PageLangCode}}

Latest revision as of 23:07, 20 April 2018

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

Template documentation[create]