Difference between revisions of "Template:GetFallback2"

From AerialWiki
Jump to navigation Jump to search
(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 = {{...")
 
m (Protected "Template:GetFallback2" (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 

Latest revision as of 19:50, 4 September 2012

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