Template:Fallback/doc: Difference between revisions
Template page
More actions
m Bot: typo |
No edit summary |
||
| Line 4: | Line 4: | ||
|1stat=required | |1stat=required | ||
|2=2 | |2=2 | ||
|2d= | |2d={{Language-code-documentation}} | ||
|2def=value of <nowiki>{{int:Lang}}</nowiki> | |2def=value of <nowiki>{{int:Lang}}</nowiki> | ||
|name=Fallback | |name=Fallback | ||
| Line 15: | Line 15: | ||
|i18n-method=- | |i18n-method=- | ||
|i18n-desc= | |i18n-desc= | ||
|seealso=[[:Template:GetFallback]], [[:Template:GetFallback2]] | |seealso= | ||
* {{tl|Autotranslate}} for template internationalization (i18n) mechanism for templates that use ''named'' parameters | |||
* {{tl|LangSwitch}} for all-translations-on-one-page template i18n mechanism template | |||
|relieson= [[:Template:GetFallback]], [[:Template:GetFallback2]] | |||
|setscats= | |setscats= | ||
|lines=one | |lines=one | ||
|shorthand= | |shorthand= | ||
}} | }} | ||
Revision as of 14:13, 25 November 2013
Used to determine the appropriate fallback language of a template localized through language-specific subpages.
Usage
{{Fallback |1= |2= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | name of the template you want to determine the appropriate fallback language of | empty | required | |
2 | Language code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences). | value of {{int:Lang}} | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
Template:GetFallback, Template:GetFallback2
See also
- {{Autotranslate}} for template internationalization (i18n) mechanism for templates that use named parameters
- {{LangSwitch}} for all-translations-on-one-page template i18n mechanism template
Localization
This template is not intended to be localized.