Template:LocSwitch: Difference between revisions

From Heroes of Might and Magic: Olden Era Official Wiki
No edit summary
No edit summary
Line 11: Line 11:
| {{{en|{{{1}}}}}}
| {{{en|{{{1}}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
'''Localization Switch''' is a template for simplified implementation of a switch. Automatically detects a language namespace and selects the appropriate text. It is recommended to use this template only for creating other templates.
===Use===
===Use===
; Horizontal layout
; Horizontal layout
Line 28: Line 29:
  |zh-hant=
  |zh-hant=
  }}</nowiki>
  }}</nowiki>
[[Category:Templates]]
[[Category:Templates]]

Revision as of 01:29, 1 November 2025

Localization Switch is a template for simplified implementation of a switch. Automatically detects a language namespace and selects the appropriate text. It is recommended to use this template only for creating other templates.

Use

Horizontal layout
{{LocSwitch|en=|de=|es=|pt-br=|it=|ja=|pl=|ru=|zh-hans=|zh-hant=}}
Vertical layout
 {{LocSwitch
 |en=
 |de=
 |es=
 |pt-br=
 |it=
 |ja=
 |pl=
 |ru=
 |zh-hans=
 |zh-hant=
 }}