Welcome to SmashWiki! Log in or create an account and join the community, and don't forget to read this first!
Notices
The Skill parameter has been removed from Smasher infoboxes, and in its place are the new "Best historical ranking" and "Best tournament result" parameters. SmashWiki needs help adding these new parameters to Smasher infoboxes, refer to the guidelines here for what should be included in these new parameters.
When adding results to Smasher pages, include each tournament's entrant number in addition to the player's placement, and use the {{Trn}} template with the matching game specified. Please also fix old results on Smasher pages that do not abide to this standard. Refer to our Smasher article guidelines to see how results tables should be formatted.
Check out our project page for ongoing projects that SmashWiki needs help with.
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
mNo edit summary
(more relevant example, usage rewrite)
Line 3: Line 3:
==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). The first parameter should be the text, and the second (optional) should be the hover text, where "Japanese text" is the default.
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}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 10:15, May 1, 2014

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