Template:ja icon/doc

[[Category:Template documentation pages{{#translation:}}]]


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

Other Japanese language templates:

  • {{Japanese}}, to request expert assistance with Japanese script
  • {{Nihongo}}, for use with Japanese text in the article body

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 {{ja icon}} being displayed as (in Japanese) instead of (in Japanese).

Category added to articles

Articles using {{ja icon}} are automatically added to Category:Articles with Japanese-language external links (1).

Supporting templates

See also

External links

  • "ISO 639-1 identifier: ja". Library of Congress.