Site News
Warning: This wiki contains spoilers. Read at your own risk!

Social media: Get in touch with Fire Emblem Wiki on Twitter, Facebook, or Discord!
MediaWiki update: Fire Emblem Wiki has been updated to MediaWiki 1.32.0! If you notice any errors, please report them to a member of our tech support team.
New feature: Tooltips now work on mobile browsers. Tap on the text to view the tooltip.

Template:Lang

From Fire Emblem Wiki, your source on Fire Emblem information. By fans, for fans.

{{{2}}}

Usage

{{lang|language|text}}

Intended use: to make sure that Japanese and Chinese characters will display correctly. Due to the so-called Han unification, several Japanese and Chinese characters that look slightly different from one another but convey the same meaning are assigned the same point in Unicode, and so HTML language tags must be used to ensure that they display correctly.

"language" should be replaced with ja for Japanese, zh-Hans for Simplified Chinese, and zh-Hant for Traditional Chinese. See w3schools' article for language codes for other languages.

This template is already used by default in the {{Names}} and {{Flavor Text}} templates and so does not need to be used there.

Examples:

  • {{lang|ja|刃}} becomes .
  • {{lang|zh-Hans|刃}} becomes .
  • {{lang|zh-Hant|刃}} becomes .
  • {{lang|ja|令}} becomes .
  • {{lang|zh-Hans|令}} becomes .
  • {{lang|zh-Hant|令}} becomes .

To use with {{hover}}, the hover template must be placed inside of the lang template, like so: {{lang|ja|{{hover|刃|ha}}}}. This becomes . Another template might be created in the future that combines this template and the hover template.

This template could possibly be used for all non-English text to assist with screenreaders, as on Wikipedia, but this is not necessary