Template:ru icon/doc
This is a documentation subpage for Template:Ru icon. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{ru icon}} is a template usually used to indicate to readers that an external link is in a foreign language (Russian); 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|ru}}
format, but is shortened by simply having the name {{ru icon}}
, where ru
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 {{ru icon}}
being displayed as (in Russian) instead of (in Russian).
Category added to articles
Articles using {{ru icon}} are automatically added to Category:Articles with Russian-language external links (1).
Supporting templates
- {{Link language}}
See also
- {{Lang-ru}}
- {{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: ru". Library of Congress.
External links
- Template:Ru icon/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.