Template:GetFallback2: Difference between revisions
Template page
More actions
add {{{1}}} to make it possible to fix the output language |
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)) |
||
| (5 intermediate revisions by 5 users not shown) | |||
| Line 3: | Line 3: | ||
| 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
This documentation is transcluded from Template:GetFallback2/doc.
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.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
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