Difference between revisions of "Template:JN"

From Nookipedia, the Animal Crossing wiki
(Changed to 2-3 parameter version)
(added back italics and bold)
Line 1: Line 1:
<includeonly><span title = "Japanese name" class = "JN">{{#if: {{{3|}}}|{{tt|{{{1}}}|{{{2}}}}}<br>{{{3}}}|{{{1}}}<br>{{{2}}}}}</span></includeonly><noinclude>
+
<includeonly><span title = "Japanese name" class = "JN">{{#if: {{{3|}}}|{{tt|<b>{{{1}}}</b>|{{{2}}}}}<br>{{{3}}}|<b>{{{1}}}</b><br>''{{{2}}}''}}</span></includeonly><noinclude>
<span title = "Japanese name" class = "JN">{{tt|Kana|Rōmaji}}<br>
+
<span title = "Japanese name" class = "JN">{{tt|<b>Kana</b>|Rōmaji}}<br>
 
Latin Spelling</span>
 
Latin Spelling</span>
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{JN
+
{{JN|Kana|Rōmaji|Latin Spelling}}
|Kana
 
|Rōmaji
 
|Latin Spelling
 
}}
 
 
</pre>
 
</pre>
 
This template is to be used for a character's Japanese name. The third parameter is optional, giving the standard spelling of a character's name in Latin letters if one exists.
 
This template is to be used for a character's Japanese name. The third parameter is optional, giving the standard spelling of a character's name in Latin letters if one exists.
 
</noinclude>
 
</noinclude>

Revision as of 14:20, March 5, 2019

Kana
Latin Spelling

Usage

{{JN|Kana|Rōmaji|Latin Spelling}}

This template is to be used for a character's Japanese name. The third parameter is optional, giving the standard spelling of a character's name in Latin letters if one exists.