Template:Nihongo: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
  |{{{1}}}
  |{{{1}}}
  |{{#if:{{{3|}}}
  |{{#if:{{{3|}}}
   |<i>{{{3}}}</i>
   |<i>{{trim|{{{3}}}}}</i>
  }}
  }}
}}<span style="font-weight: normal">{{#if:{{{2|}}}{{#if:{{{1|}}}
}}<span style="font-weight: normal">{{#if:{{{2|}}}{{#if:{{{1|}}}
Line 11: Line 11:
  |{{#ifeq:{{yesno|{{{lead|}}}}}|yes
  |{{#ifeq:{{yesno|{{{lead|}}}}}|yes
   |[[wikipedia:Japanese language|Japanese]]:&#32;
   |[[wikipedia:Japanese language|Japanese]]:&#32;
  }}<span class="t_nihongo_kanji" lang="ja" xml:lang="ja">{{{2}}}</span>
  }}<span lang="ja">{{trim|{{{2}}}}}</span>
}}{{#if:{{{1|}}}
}}{{#if:{{{1|}}}
  |{{#if:{{{3|}}}
  |{{#if:{{{3|}}}
   |{{#if: {{{2|}}}
   |{{#if: {{{2|}}}
   |<span class="t_nihongo_comma" style="display:none">,</span>&#32;
   |<span style="display:none">,</span>&#32;
   }}{{#ifeq:{{yesno|{{{lead|}}}}}|yes
   }}{{#ifeq:{{yesno|{{{lead|}}}}}|yes
   |[[wikipedia:Hepburn romanization|Hepburn]]:&#32;}}<i>{{{3}}}</i>
   |[[wikipedia:Hepburn romanization|Hepburn]]:&#32;}}<i>{{trim|{{{3}}}}}</i>
   }}
   }}
  }}{{#if: {{{2|}}}
  }}{{#if:{{{extra|{{{4|}}}}}}
  |<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:{{#if:{{{3|}}}
  |{{#if:{{#if:{{{3|}}}
   |{{{1|}}}
   |{{{1|}}}
Line 34: Line 32:
  |&#32;{{{extra2|{{{5}}}}}}
  |&#32;{{{extra2|{{{5}}}}}}
}}{{category handler
}}{{category handler
|main=[[Category:Articles containing Japanese-language text]]
}}</span><noinclude>
}}</span><noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage and interwikis to Wikidata. -->
</noinclude>
</noinclude>