Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Fallback/doc: Difference between revisions

Template page
m Protected Template:Fallback/doc: Widely used template ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))
use TemplateData, add warning about the limit of fallback languages
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
|1=1
|1=1
|1d=name of the template you want to determine the appropiate fallback language of
|1label-en=template
|1d-en=Name of the template you want to determine the appropriate fallback language of
|1type=wiki-template-name
|1stat=required
|1stat=required
|2=2
|2=2
|2d=language code (only needs to be provided if the language shall be fixed and independent of the user's preferences)
|2label-en=language code
|2d={{Language-code-documentation}}
|2type=line
|2def=value of <nowiki>{{int:Lang}}</nowiki>
|2def=value of <nowiki>{{int:Lang}}</nowiki>
|name=Fallback
|name=Fallback
|desc=Used to determine the appropriate fallback language of a template localized through language-specific subpages.
|desc=Used to determine the appropriate fallback language of a template localized through language-specific subpages. It can handle up to 2 fallback languages; after that, it falls back to content language of the page.
|namespace=all
|namespace=all
|usergroup=all
|usergroup=all
Line 15: Line 21:
|i18n-method=-
|i18n-method=-
|i18n-desc=
|i18n-desc=
|seealso=[[:Template:GetFallback]], [[:Template:GetFallback2]]
|seealso=
* {{tl|SuperFallback}}, for the same fallback functionality but in all namespaces, not just Template
* {{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=
}}
|useTemplateData=only
}}<includeonly>[[Category:Localisation templates]]</includeonly>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.