Template:Language icon

From OpenStreetMap Wiki
Jump to: navigation, search
({{{2}}})
[Edit] [Octicons-sync.svgpurge] Template-info.svg Template documentation
Usage
  • {{Language icon|Name of language|2-letter ISO code of language}}
  • {{Language icon|Name of language|2-letter ISO code of language|text=text}}
  • {{Language icon|Name of language|2-letter ISO code of language|dir=rtl|text=text}}
Parameters
  • 1=Name of language (optional) – the name of the language in English (« French », « German », etc.)
    Note: This legacy parameter 1 is no longer used but remains only for documentation purpose and to avoid breaking usage of parameter 2.
  • 2=2-letter ISO code of language (required) – the 2-letter ISO code of language following ISO 639-1 (or 639-2 if needed) (« fr », « de », etc.).
  • text=text (optional) : a text to mark as in a specific language
  • dir=rtl (optional) : only useful if a text is given and must be read from right to left