Template:Nihongo: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{en}}} (in Japanese <span lang="ja" title="Japanese-language text">{{{jp}}}</span>, transliterated as <i lang="ja-Latn" title="Transliteration">{{{ro}}}</i>)</includeonly>
{{{en}}} (in Japanese <span lang="ja" title="Japanese-language text">{{{jp}}}</span>{{#if: {{{ro|}}}|, <span style="font-style: italic;" lang="ja-Latn" title="Romanization">{{{ro}}}</span>|}})<noinclude><templatedata>
<noinclude>
<templatedata>
{
{
"params": {
"params": {
"en": {
"en": {
"label": "English Text",
"label": "English Text",
"description": "The word(s) translated into English.",
"description": "The word translated into English. Bold this text if it's the page's lead.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 12: Line 10:
"jp": {
"jp": {
"label": "Japanese Text",
"label": "Japanese Text",
"description": "The word(s) written in Japanese (kanji, kana, Roman letters, and possibly other marks).",
"description": "The word written in Japanese (kanji, kana, Roman letters, and possibly other marks).",
"type": "string",
"type": "string",
"required": true
"required": true
Line 18: Line 16:
"ro": {
"ro": {
"label": "Romaji Text",
"label": "Romaji Text",
"description": "Romanization of the Japanese word(s).",
"description": "Romanization of the Japanese word.",
"type": "string",
"type": "string",
"required": true
"required": true
Line 28: Line 26:
"ro"
"ro"
],
],
"format": "inline"
"format": "inline",
"description": "This template displays all the ways a Japanese word is written. Do not use with links."
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 18:51, 31 May 2021

{{{en}}} (in Japanese {{{jp}}})

This template displays all the ways a Japanese word is written. Do not use with links.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
English Texten

The word translated into English. Bold this text if it's the page's lead.

Stringrequired
Japanese Textjp

The word written in Japanese (kanji, kana, Roman letters, and possibly other marks).

Stringrequired
Romaji Textro

Romanization of the Japanese word.

Stringrequired