Template:Nihongo: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
(Created page with "{{#if:{{{1|}}} |{{{1}}} |{{#if:{{{3|}}} |<i>{{{3}}}</i> }} }}<span style="font-weight: normal">{{#if:{{{2|}}}{{#if:{{{1|}}} |{{{3|}}} }}{{{4|}}} | ( }}{{#if:{{{2|...")
 
No edit summary
Line 20: Line 20:
   }}
   }}
  }}{{#if: {{{2|}}}
  }}{{#if: {{{2|}}}
   |<span class="t_nihongo_help noprint"><sup>[[Help:Installing Japanese character sets|<span class="t_nihongo_icon" style="color: #00e; font: bold 80% sans-serif; text-decoration: none; padding: 0 .1em;">?</span>]]</sup></span>
   |<span class="t_nihongo_help noprint"><sup>[[wikipedia:Help:Installing Japanese character sets|<span class="t_nihongo_icon" style="color: #00e; font: bold 80% sans-serif; text-decoration: none; padding: 0 .1em;">?</span>]]</sup></span>
}}{{#if:{{{extra|{{{4|}}}}}}
}}{{#if:{{{extra|{{{4|}}}}}}
  |{{#if:{{#if:{{{3|}}}
  |{{#if:{{#if:{{{3|}}}

Revision as of 15:31, 20 July 2013

{{Nihongo|<1>|<2>|<3>|<4>}} yields: <1> (<2> <3>?, <4>)

  • <1> is rendered in Kurokane font.
  • <2> (optional) is enclosed in a pair of parentheses that follow <1>. A superscripted question mark is appended to <2>; it links to wikipedia:Help:Multilingual support (East Asian) and helps readers with character set issues.
  • <3> (optional) follows <2>, rendered italic.
  • <4> (optional) follows <3>, indicating a literal translation.

This template is suitable for following occasions:

  • Just pass a piece of text as <1>, if you just want it to be rendered in Kurokane. (This Kurokane word is made from {{Nihongo|Kurokane}}.) As the body text font used on Rhythm Heaven Wiki doesn't support heavier font weight, this template is a widely-used workaround to make a piece of text bold.
  • Pass an English name as <1>, a Japanese name as <2>, its rōmaji as <3> and its meaning as <4>. This is the usage recommended by Template:Nihongo on Wikipedia.
    • Example: {{Nihongo|Karate Man|カラテ家|Karateka}}
    • Output: Karate Man (カラテ家 Karateka?).
    • Example: {{Nihongo|Rhythm Heaven Fever|みんなのリズム天国|Minna no Rhythm Tengoku|Everyone's Rhythm Heaven}}
    • Output: Rhythm Heaven Fever (みんなのリズム天国 Minna no Rhythm Tengoku?, Everyone's Rhythm Heaven)
  • Pass a Latin transcription as <1>, a CJK name as <2> and its meaning as <4>, leaving <3> blank.
    • Example: {{Nihongo|Jiézòu Tiānguó: Qíjì Zhī Xīng|节奏天国 奇迹之星||Rhythm Heaven: Miracle Stars}}
    • Output: Jiézòu Tiānguó: Qíjì Zhī Xīng (节奏天国 奇迹之星?, Rhythm Heaven: Miracle Stars)