Template:GetFallback2
From TDWG Terms Wiki
Revision as of 09:41, 27 August 2012 by Andreas Plank (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 = {{...")
en
[edit] [ ]
Template documentation
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}}