Difference between revisions of "Template:Japanese names/core"
(put the romaji name in a variable) |
Dinoguy1000 (talk | contribs) (use a definition list) |
||
Line 8: | Line 8: | ||
-->{{{temp|[[SMW::on]]}}}<div class="hlist"> | -->{{{temp|[[SMW::on]]}}}<div class="hlist"> | ||
− | + | ; Japanese: <span lang="ja">{{{5}}}</span>{{ #ifeq: {{{2}}} | {{{5}}} | |
|| [[Ruby text::{{{2|}}}| ]] | || [[Ruby text::{{{2|}}}| ]] | ||
− | + | ; Kana: <span lang="ja-Hrkt">{{{6}}}</span>[[Japanese kana name::{{{6|}}}| ]] | |
}}{{ #if: {{{3<includeonly>|</includeonly>}}} | }}{{ #if: {{{3<includeonly>|</includeonly>}}} | ||
| | | | ||
− | + | ; Romaji: ''<span lang="ja-Latn-Hepburn">{{{3}}}</span>''[[Romaji name::{{{3}}}| ]] | |
}}{{ #if: {{{4<includeonly>|</includeonly>}}}{{ #var: $ja_trans_name }} | }}{{ #if: {{{4<includeonly>|</includeonly>}}}{{ #var: $ja_trans_name }} | ||
| {{ #ifeq: {{{4}}} | {{ #explode: {{ #titleparts: {{PAGENAME}} }} | ( }} | | {{ #ifeq: {{{4}}} | {{ #explode: {{ #titleparts: {{PAGENAME}} }} | ( }} | ||
| | | | ||
| | | | ||
− | + | ; Translated: {{ #var: $ja_trans_name | {{{4}}} }}[[Translated name::{{ #var: $ja_trans_name | {{{4}}} }}| ]] | |
}} | }} | ||
}}<!-- | }}<!-- |
Revision as of 18:14, 18 December 2017
- Japanese
- {{{5}}}
- Kana
- {{{6}}}
- Romaji
- {{{3}}}
- Translated
- {{{4}}}