Difference between revisions of "Template:Link language/Notes"
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
The template uses the {{tlx|link language}} format, but is shortened by simply having the name <code><nowiki>{{xx icon}}</nowiki></code>, where <code>xx</code> represents the language code. These can be found in the "Alpha-2" column of the [[list of ISO 639-2 codes|list of ISO 639 codes]]. Please be aware that [[language code]]s do not always coincide with<!-- /are not always the same as --> [[country code]]s (see the list of [[ISO 3166-1]] codes). | The template uses the {{tlx|link language}} format, but is shortened by simply having the name <code><nowiki>{{xx icon}}</nowiki></code>, where <code>xx</code> represents the language code. These can be found in the "Alpha-2" column of the [[list of ISO 639-2 codes|list of ISO 639 codes]]. Please be aware that [[language code]]s do not always coincide with<!-- /are not always the same as --> [[country code]]s (see the list of [[ISO 3166-1]] codes). | ||
− | For citations, the <code>language</code> parameter of the various citation templates ({{tlx|cite web}}, {{tlx|cite news}}, {{tlx|cite journal}}, etc) should be used instead. | + | For citations, the <code>language</code> parameter of the various citation templates ({{tlx|cite web}}, {{tlx|cite news}}, {{tlx|cite journal}}, etc.) should be used instead. |
[[:Category:Language icon templates]] contains a full list of the templates that can be used.{{#if:{{{addendum|}}}|<div id="addendum">{{{addendum}}}</div>}} | [[:Category:Language icon templates]] contains a full list of the templates that can be used.{{#if:{{{addendum|}}}|<div id="addendum">{{{addendum}}}</div>}} |
Revision as of 08:33, 11 August 2016
{{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 {{link language}}
format, but is shortened by simply having the name {{xx icon}}
, where xx
represents the language code. These can be found in the "Alpha-2" column of the list of ISO 639 codes. Please be aware that language codes do not always coincide with country codes (see the list of ISO 3166-1 codes).
For citations, the language
parameter of the various citation templates ({{cite web}}
, {{cite news}}
, {{cite journal}}
, etc.) should be used instead.
Category:Language icon templates contains a full list of the templates that can be used.
See also
- {{Link language}}
- {{Lang}}, and its opposite, {{Language with name/for}}
![](/w/images/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
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. |