Site notice
Welcome! Please check To-Do List to see what pages need help, who is working on what, etc.

Difference between revisions of "Template:Jp"

From Mega Man Wiki
Line 1: Line 1:
<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{{1}}} ({{rollover|{{{2}}}|{{{3|Japanese text}}}|{{#if:{{{2|}}}|y|}}}})</span><noinclude>
<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{{1}}} {{rollover|{{{2}}}|{{{3}}}|?}})</span><noinclude>


==Use==
==Use==

Revision as of 00:37, 4 November 2023

{{{1}}} {{{2}}})

Use

Displays Japanese characters. For example, {{jp|Rockman|ロックマン}} gives Rockman ロックマン). The first parameter should be the English non-localized translation, the second should be the Japanese text in parentheses, and the third (optional) should be the hover text, where "Japanese text" is the default (example: Rockman ロックマン)).

This template helps avoid character display errors should a user's font not support Japanese characters, done by specifying a list of fonts known to have such support and that combined should be on every possible computer. The fonts used are, in the order they are attempted:

  • Arial Unicode MS (any system with Microsoft Office, Mac OS X x10.5+)
  • Code2000 (older well-known Unicode font)
  • EPSON
  • Meiryo (all Windows since Vista)