Template:GetFallback2: Difference between revisions
Template page
More actions
No edit summary |
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)) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
| nds-nl = nl | | nds-nl = nl | ||
| pdt = de | | pdt = de | ||
| zh-cn | zh-hans | zh-hant | zh-hk | zh-mo | zh-my | zh-sg | zh-tw = zh | |||
| #default = {{#if: {{{default|}}} | {{{default|}}} | en }} | | #default = {{#if: {{{default|}}} | {{{default|}}} | en }} | ||
}}<noinclude> | }}<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