Difference between revisions of "Template:Nihongo"

From Infinity Library
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
 
produces:
 
produces:
 
{{Nihongo|Japan|日本|nihon}}
 
{{Nihongo|Japan|日本|nihon}}
</noinclude><includeonly>
+
 
{{{1}}} (<span lang="ja">{{{2}}}</span> <span lang="ja" style="font-style: italic">{{{3}}}</span>)
+
The rōmaji can be omitted, e.g.
</includeonly>
+
 
 +
  <nowiki>{{Nihongo|Japan|日本}}</nowiki>
 +
 
 +
produces:
 +
{{Nihongo|Japan|日本}}
 +
 
 +
</noinclude><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 (日本)