Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:GetFallback2: Difference between revisions

Template page
m Protected "Template:GetFallback2": Widely used template ([edit=sysop] (indefinite) [move=sysop] (indefinite))
m Changed protection level for "Template:GetFallback2": downgraded protection level per consensus ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#switch: {{int:Lang}}
{{#switch: {{#if: {{{1|}}} |{{{1}}}|{{int:Lang}}}}
| nds = de
| nds = de
| nds-nl = nl
| nds-nl = nl
| pdt = de
| pdt = de
| #default = en
| zh-cn | zh-hans | zh-hant | zh-hk | zh-mo | zh-my | zh-sg | zh-tw = zh
}}
| #default = {{#if: {{{default|}}} | {{{default|}}} | en }}
}}<noinclude>
{{documentation}}
[[Category:Localisation templates]]
</noinclude>

Latest revision as of 03:05, 16 July 2019

en

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:GetFallback2/doc.

Fallback mechanism part #2. Map:

  1. nds (Low German) -> de (German)
  2. nds-nl (Dutch Low Saxon) -> nl (Dutch)
  3. pdt -> de (German)

or otherwise return default

Usage

{{GetFallback2 |1= |default= }}

Should be used only by other templates. Not intended to be used directly.

Template parameters

ParameterDescriptionDefaultStatus
1any supported language code{{int:Lang}}optional
defaultdefault language code returnedenoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

See also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.