Template:GetFallback2/doc

From Safer nicotine wiki
Jump to navigation Jump to search

Fallback mechanism part #2. Map:

  1. nds (Low German) -> de (German)
  2. nds-nl (Dutch Low Saxon) -> nl (Dutch)
  3. 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

ParameterDescriptionDefaultStatus
1any supported language code{{int:Lang}}optional
defaultdefault language code returnedenoptional

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

⧼Seealso⧽