Difference between revisions of "Template:Nihongo"

From Infinity Library
Jump to navigation Jump to search
(allow omitting rōmaji)
m
 
Line 16: Line 16:
 
{{Nihongo|Japan|日本}}
 
{{Nihongo|Japan|日本}}
  
</noinclude><includeonly>
+
</noinclude><includeonly>{{{1}}} (<span lang="ja">{{{2}}}</span>{{#if:{{{3|}}}|<span lang="ja" style="font-style: italic"> {{{3}}}</span>}})</includeonly>
{{{1}}} (<span lang="ja">{{{2}}}</span>{{#if:{{{3|}}}|<span lang="ja" style="font-style: italic"> {{{3}}}</span>}})
 
</includeonly>
 

Latest revision as of 05:14, 2 April 2018

Template for displaying English text with its Japanese and rōmaji counterparts.

e.g.

 {{Nihongo|Japan|日本|nihon}}

produces: Japan (日本 nihon)

The rōmaji can be omitted, e.g.

 {{Nihongo|Japan|日本}}

produces: Japan (日本)