Difference between revisions of "Template:Nihongo"

From Infinity Library
Jump to navigation Jump to search
(Created page with "<noinclude> Template for displaying English text with its Japanese and rōmaji counterparts. e.g. <nowiki>{{Nihongo|Japan|日本|nihon}}</nowiki> produces: {{Nihongo|Jap...")
 
m
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
produces:
 
produces:
 +
{{Nihongo|Japan|日本|nihon}}
  
{{Nihongo|Japan|日本|nihon}}
+
The rōmaji can be omitted, e.g.
</noinclude>
+
 
<includeonly>
+
  <nowiki>{{Nihongo|Japan|日本}}</nowiki>
{{{1}}} (<span lang="ja">{{{2}}}</span> <span lang="ja" style="font-style: italic">{{{3}}}</span>)
+
 
</includeonly>
+
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 (日本)