Deoband Community Wikimedia

Template:Fallback

Revision as of 18:09, 4 March 2024 by Aafi (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

en

[edit] Template documentation

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.

Usage

{{Fallback |1= |2= }}

Template parameters

Lua error in Module:Autotranslate at line 80: No fallback page found for autotranslate (base=Template:TemplateDataInfo/i18n, lang=⧼lang⧽).

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
template1

Name of the template you want to determine the appropriate fallback language of

Templaterequired
language code2

Language code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences).

Default
value of {{int:Lang}}
Lineoptional

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

⧼Seealso⧽

  • {{SuperFallback}}, for the same fallback functionality but in all namespaces, not just Template
  • {{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.

Discuss this page