Difference between revisions of "Template:En icon"
en>Zyxw m (Convert unused 2nd parameter to comment. using AWB) |
(No difference)
|
Revision as of 06:00, 3 July 2017
(in English)
Please do not use {{en icon}} on the English-language Wikipedia unless there is a reason why the reader would assume that a source is not in English.For example, if a reference had a foreign-language title, but English contents, the template would be appropriate. It may also be appropriate for multilingual references, where another language icon alone would lead the reader to believe the source was entirely in that language. However, the reader should otherwise automatically assume that the reference is in English, and so the template is not needed. |
Usage
{{en icon}} is a template usually used to indicate to readers that an external link is in a foreign language (English); 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|en}}
format, but is shortened by simply having the name {{en icon}}
, where en
represents the ISO 639-1 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 {{en icon}}
being displayed as (in English) instead of (in English).
Supporting templates
- {{Link language}}
See also
- {{Lang-en}}
- {{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
External links
- "ISO 639-1 identifier: en". Library of Congress.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
The above documentation is transcluded from Template:En icon/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. |