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


==Use==
==Use==
Displays Japanese characters. For example, <nowiki>{{jp|Mega Man|ロックマン}}</nowiki> gives {{jp|Mega Man|ロックマン}}.
Displays Japanese characters. For example, <nowiki>{{jp|Rockman|ロックマン}}</nowiki> gives {{jp|Rockman|ロックマン}}.
The first parameter should be the text, and the third (optional) should be the hover text, where "Japanese text" is the default (example: {{jp|Mega Man|ロックマン|Rokkuman}}).
The first parameter should be the text, and the third (optional) should be the hover text, where "Japanese text" is the default (example: {{jp|Rockman|ロックマン|Rokkuman}}).


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 00:30, 4 November 2023

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

Use

Displays Japanese characters. For example, {{jp|Rockman|ロックマン}} gives Rockman (ロックマン). The first parameter should be the text, 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)