Template:GetFallback2

From AerialWiki
Revision as of 17:46, 3 September 2012 by Kwickert (talk | contribs) (Created page with "{{#switch: {{#if: {{{1|}}} |{{{1}}}|{{int:Lang}}}} | nds = de | nds-nl = nl | pdt = de | zh-cn | zh-hans | zh-hant | zh-hk | zh-mo | zh-my | zh-sg | zh-tw = zh | #default = {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

en

[edit] [history] [purge] Documentation icon Template documentation


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.

Parameters

Parameter name Description Default value required or optional?

parameter #1 (1) any supported language code {{int:Lang}} optional
default default language code returned en optional

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