Smashpedia
m
Tag: sourceedit
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<span style="font-family:Arial Unicode MS,Code2000,EPSON" lang="ja">{{{1}}}</span><noinclude>
+
<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{rollover|{{{1}}}|{{{2|Japanese text}}}|{{#if:{{{2|}}}|y|}}}}</span><noinclude>
   
== Use ==
+
==Use==
   
Displays Japanese characters. For example, {{tl1|ja|スミッデル}} gives {{ja|スミッデル}}. If a user has set his/her [[Special:Mypage/monobook.css|monobook.css]] to a font unable to display Japanese characters, such as Verdana, this template helps (if any Japanese font is installed).</noinclude>
+
Displays Japanese characters. For example, {{tl1|ja|スマブラ}} gives {{ja|スマブラ}}. The first parameter should be the text, and the second (optional) should be the hover text, where "Japanese text" is the default (example: {{ja|スマブラ|sumabura}}).
  +
  +
This template helps avoid character display errors should a user's personal stylesheets be using a font that doesn't 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)
  +
  +
If you have problems displaying Japanese characters even with this template, post on the talkpage and we'll try to find something you can use.
  +
  +
[[Category:Templates|{{PAGENAME}}]]
  +
</noinclude>

Latest revision as of 21:52, 25 December 2015

{{{1}}}

Use

Displays Japanese characters. For example, {{ja|スマブラ}} gives スマブラ. The first parameter should be the text, and the second (optional) should be the hover text, where "Japanese text" is the default (example: スマブラ).

This template helps avoid character display errors should a user's personal stylesheets be using a font that doesn't 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)

If you have problems displaying Japanese characters even with this template, post on the talkpage and we'll try to find something you can use.