Difference between revisions of "Template:Nihonish"

From OpenGeofiction Encyclopedia
Jump to: navigation, search
Line 1: Line 1:
{{#if:{{{1|}}}
+
{{{1}}}<span style="font-weight: normal"> (<span class="t_nihongo_kanji" lang="ja">{{{2}}}</span>{{#if:{{{3|}}}
|{{{1}}}
+
  |<span class="t_nihongo_comma" style="display:none">,</span> <i><span class="t_nihongo_romaji">{{{3}}}</span></i>
|{{#if:{{{3|}}}
+
  |<span class="t_nihongo_norom" style="display:none"><span class="t_nihongo_comma" style="display:none">,</span> <i><span class="t_nihongo_romaji">{{{1}}}</span></i></span>
  |<i>{{trim|{{{3}}}}}</i>
+
}}<span class="t_nihongo_help"><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:{{{4| {{{extra|}}} }}}
}}
+
|{{#if:{{{3|}}}|,|<span></span>}} {{{4| {{{extra}}} }}}
}}<span style="font-weight: normal">{{#if:{{{2|}}}{{#if:{{{1|}}}
+
}}){{
  |{{{3|}}}
+
   #if: {{{5| {{{extra2|}}} }}} | <nowiki></nowiki> {{{5| {{{extra2}}} }}}
  }}{{{4|}}}
 
|&#32;(
 
}}{{#if:{{{2|}}}
 
  |{{#ifeq:{{yesno|{{{lead|}}}}}|yes
 
  |[[Nihonish]]:&#32;
 
}}<span lang="ja">{{trim|{{{2}}}}}</span>{{#if: {{{2|}}}
 
  |<sup class="noprint">[[wikipedia:Help:Installing Japanese character sets|<span style="color: #00e; font: bold 80% sans-serif; text-decoration: none; padding: 0 .1em;">?</span>]]</sup>
 
}}
 
}}{{#if:{{{1|}}}
 
|{{#if:{{{3|}}}
 
  |{{#if: {{{2|}}}
 
  |<span style="display:none">,</span>&#32;
 
  }}{{#ifeq:{{yesno|{{{lead|}}}}}|yes
 
  |[[Ingerish]]:&#32;}}<i>{{trim|{{{3}}}}}</i>
 
  }}
 
}}{{#if:{{{extra|{{{4|}}}}}}
 
|{{#if:{{#if:{{{3|}}}
 
  |{{{1|}}}
 
  }}{{{2|}}}
 
   |,
 
}} {{{extra|{{{4}}}}}}
 
}}{{#if:{{{2|}}}{{#if: {{{1|}}}
 
  |{{{3|}}}
 
}}{{{4|}}}
 
|)
 
}}{{#if:{{{extra2|{{{5|}}}}}}
 
|&#32;{{{extra2|{{{5}}}}}}
 
}}{{category handler
 
|main=[[Category:Articles containing Nihonish-language text]]
 
 
}}</span><noinclude>
 
}}</span><noinclude>
{{documentation}}
+
{| style="background: none; border: none;"
 +
|+ Usage
 +
|<pre>{{nihonish|English|Kanji|Romaji|extra|extra2}}</pre>
 +
|}
 +
[[Category:Multilingual support templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 08:21, 20 June 2017

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

Usage
{{nihonish|English|Kanji|Romaji|extra|extra2}}