Difference between revisions of "Template:Es icon"
en>Primefac |
m (1 revision imported) |
Latest revision as of 02:07, 8 August 2019
This template is currently being deleted. This template is being removed from the pages on which it is currently used, according to the specific instructions at Wikipedia:Templates for discussion/Holding cell, after which it will be deleted. Please do not use it on any additional pages, but do not remove it from pages if it is under deletion review. The decision to delete this template was made following this discussion initiated on 5 July 2019 at Templates for discussion. Administrators: Please review this template's instructions at Wikipedia:Templates for discussion/Holding cell before proceeding with any action. |
(in Spanish)
Usage
{{es icon}} is a template usually used to indicate to readers that an external link is in a foreign language (Spanish); 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|es}}
format, but is shortened by simply having the name {{es icon}}
, where es
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 <syntaxhighlight lang="css" class="" id="" style="" inline="1">span.languageicon { font-weight: bold; }</syntaxhighlight>. That would result in {{es icon}}
being displayed as (in Spanish) instead of (in Spanish).
Supporting templates
- {{Link language}}
See also
- {{Lang-es}}
- {{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: es". Library of Congress.Page Module:Citation/CS1/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "Scribunto").
<templatedata> { "params": {}, "description": "Note that an external link leads to a page in Spanish" } </templatedata>
The above documentation is transcluded from Template:Es 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. |