Difference between revisions of "Template:GetFallback2"
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
Fallback mechanism part #2. Map:
- nds (Low German) -> de (German)
- nds-nl (Dutch Low Saxon) -> nl (Dutch)
- 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
{{GetFallback}}
The above documentation is transcluded from Template:GetFallback2/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |