Permanently protected template

Template:zh icon

From Wikipedia, the free encyclopedia

(in Chinese)

Template documentation

{{zh icon}} is a template usually used to indicate to readers that an external link is in a foreign language (Chinese); 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|zh}} format, but is shortened by simply having the name {{zh icon}}, where zh 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 {{zh icon}} being displayed as (in Chinese) instead of (in Chinese).

Category added to articles

Articles using {{zh icon}} are automatically added to Category:Articles with Chinese-language external links (8,413).

Supporting templates

See also

External links

  • "ISO 639-1 identifier: zh". Library of Congress. 
Retrieved from ""
This content was retrieved from Wikipedia :
This page is based on the copyrighted Wikipedia article "Template:zh icon"; it is used under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC-BY-SA). You may redistribute it, verbatim or modified, providing that you comply with the terms of the CC-BY-SA