Difference between revisions of "Template:Nihongo"
Jump to navigation
Jump to search
m |
(allow omitting rōmaji) |
||
Line 8: | Line 8: | ||
produces: | produces: | ||
{{Nihongo|Japan|日本|nihon}} | {{Nihongo|Japan|日本|nihon}} | ||
+ | |||
+ | The rōmaji can be omitted, e.g. | ||
+ | |||
+ | <nowiki>{{Nihongo|Japan|日本}}</nowiki> | ||
+ | |||
+ | produces: | ||
+ | {{Nihongo|Japan|日本}} | ||
+ | |||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{{1}}} (<span lang="ja">{{{2}}}</span> <span lang="ja" style="font-style: italic">{{{3}}}</span>) | + | {{{1}}} (<span lang="ja">{{{2}}}</span>{{#if:{{{3|}}}|<span lang="ja" style="font-style: italic"> {{{3}}}</span>}}) |
</includeonly> | </includeonly> |
Revision as of 05:11, 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 (日本)