Difference between revisions of "Template:Link language/Notes"

From Wikispooks
Jump to navigation Jump to search
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

Template documentation[create]