Difference between revisions of "Template:JP"
Jump to navigation
Jump to search
(Fixed example section) |
|||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if:{{{3|}}}|<span title="{{{2}}}"> | {{#if:{{{3|}}}|<span title="{{{2}}}">{{{1}}}</span>, ("{{{3}}}")|<span title="{{{2}}}">{{{1}}}</span>}} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 18:49, 19 April 2015
Usage
This template is used for displaying Japanese text, its pronunciation (romanization), and its translation. Romanization is displayed via hovertext over the Japanese, and the translation is included afterwards in parentheses and quotation marks. English translation is not a mandatory parameter; Japanese and romanization are, however.
Example
Input:
{{JP|日本|Nippon|Japan}}
Output:
日本, ("Japan")