Template:TaginfoLinksPerLanguage

From OpenStreetMap Wiki
Jump to navigation Jump to search

no

[Edit] [Purge] Template-info.svg Template documentation

This template holds information about which country-specific taginfo sites are to be shown on which language-specific description pages. Two-letter country codes are defined in ISO 3166-1 alpha-2, and two-letter language codes are defined in ISO 639-1.

Usage

To establish whether a taginfo site for country CC should be included in a template for language ll, the following syntax is used:

{{TaginfoLinksPerLanguage|CC|lang=ll}}

which will generate either yes or no. This can then easily be used in calling the Template:TaginfoLinks template.

Examples

Wikitext Produces
{{TaginfoLinksPerLanguage|FR|lang=de}}

no

{{TaginfoLinksPerLanguage|GB|lang=en}}

yes

{{TaginfoLinksPerLanguage|UA|lang=en}}

no

{{TaginfoLinksPerLanguage|CH|lang=fr}}

yes

See Template:TaginfoLinksPerLanguage/doc/table for a summary table of results for specific language/country pairs.


See also