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:
{{{1}}} (<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{rollover|{{{2}}}|{{{3|Japanese text}}}|{{#if:{{{2|}}}|y|}}}})</span><noinclude>
{{{1}}} (<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{rollover|{{{2}}}|{{{3|Japanese text}}}|{{#if:{{{2|}}}|y|}}}}</span>)<noinclude>


==Use==
==Use==

Latest revision as of 13:56, 7 April 2024

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

Use

Displays Japanese characters. For example, {{jp|Rockman|ロックマン|Rokkuman}} gives: Rockman (ロックマン). The 1 parameter should be the English translation, 2 should be the Japanese text, and 3 should be a rōmaji transcription.

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)