Template:TaginfoLinksPerLanguage
Jump to navigation
Jump to search
no
This documentation is transcluded from Template:TaginfoLinksPerLanguage/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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.