This high-risk/high-traffic page is protected.

Template:Ja: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(hope this works)
m (Text replacement - "== ([^=])" to "== $1")
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span style="font-family:Arial Unicode MS,Code2000,EPSON,Meiryo" lang="ja">{{rollover|{{{1}}}|{{{2|Japanese text}}}|{{#if:{{{2|}}}|y|}}}}</span><noinclude>
<noinclude>{{ArticleIcons|protected=highrisk}}</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|スマブラ}}. 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}}).


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). The first parameter should be the text, and the second (optional) should be the hover text, where "Japanese text" is the default.
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)


[[Category:Templates|{{PAGENAME}}]]
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.
</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 01:35, April 13, 2022

{{{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.