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}}}|?}})</span><noinclude>
<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{{1}}}</span><noinclude>


==Use==
==Use==
Displays Japanese characters. For example, <nowiki>{{jp|Rockman|ロックマン}}</nowiki> gives {{jp|Rockman|ロックマン}}.
Displays Japanese characters. For example, <nowiki>{{jp|ロックマン}}</nowiki> gives {{jp|ロックマン}}.
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: {{jp|Rockman|ロックマン}}).
The 1 parameter should be the Japanese text in parentheses.


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:
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:

Revision as of 01:38, 4 November 2023

{{{1}}}

Use

Displays Japanese characters. For example, {{jp|ロックマン}} gives ロックマン. The 1 parameter should be the Japanese text in parentheses.

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)