Template:link language/Notes
{{link language}} is a template usually used to indicate to readers that an external link is in a foreign language; no parameters are needed.
It should generally be placed after the external link, although this is not set in stone. For more information, see the Manual of Style.
The template uses the Template:Tlxb format, but is shortened by simply having the name {{xx icon}}, where xx represents the language code. Please be aware that language codes do not always coincide with country codes (see the list of ISO 3166-1 codes).
For citations, use the |language= parameter of the various citation templates: {{cite web}}, {{cite news}}, {{cite journal}}, etc.
Category:Language icon templates contains a full list of the templates that can be used.
User-defined CSS
Logged in users can change the appearance of the template's output using CSS with the languageicon class. For example, edit Special:MyPage/common.css and add span.languageicon { font-weight: bold; }. That would result in {{fr icon}} being displayed as (in Lua error in package.lua at line 80: module 'Module:Language/data/iana languages' not found.) instead of (in Lua error in package.lua at line 80: module 'Module:Language/data/iana languages' not found.).
Supporting templates
- {{Link language}}
See also
- {{Lang}}, and its opposite, {{Language with name/for}}
- List of ISO 639-1 codes, List of ISO 639-2 codes, and List of ISO 639-3 codes
Usage
{{Link language/Notes}} is documentation for the many separate language icon templates in Category:Language icon templates, as many will need the same documentation. Using one template makes updates to the respective pages easier.
See also
| The above documentation is transcluded from Template:Link language/Notes/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |