Template:LanguageInline: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="language-target jp-content">{{{jp|}}}</span><span class="language-target ro-content">{{{ro|}}}</span><span class="language-target en-content">{{{en|}}}</span>
<span class="language-target jp-content" lang="ja">{{{jp|}}}</span>{{#if: {{{ro|}}}|<span class="language-target ro-content" lang="ja-Latn">{{{ro}}}</span>|}}<span class="language-target en-content" lang="en">{{{en|}}}</span><noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
Line 8: Line 7:
"description": "Japanese text.",
"description": "Japanese text.",
"example": "檻の中の箱庭",
"example": "檻の中の箱庭",
"type": "string",
"type": "content",
"suggested": true
"suggested": true
},
},
Line 15: Line 14:
"description": "Romanization of the Japanese text.",
"description": "Romanization of the Japanese text.",
"example": "Ori no Naka no Hakoniwa",
"example": "Ori no Naka no Hakoniwa",
"type": "string",
"type": "content",
"suggested": true
"suggested": true
},
},
Line 22: Line 21:
"description": "English translation of the Japanese text.",
"description": "English translation of the Japanese text.",
"example": "The Miniature Garden within the Cage",
"example": "The Miniature Garden within the Cage",
"type": "string",
"type": "content",
"suggested": true
"suggested": true
}
}
},
},
"description": "This template automatically surrounds multi-lingual text with the necessary markup to work with the language toggle buttons.",
"description": "This template automatically surrounds in-line multi-lingual text with the necessary markup to work with the language toggle buttons. Use this template in infoboxes and in the middle of sentences.",
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 14:52, 31 May 2021

This template automatically surrounds in-line multi-lingual text with the necessary markup to work with the language toggle buttons. Use this template in infoboxes and in the middle of sentences.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Japanese Textjp

Japanese text.

Example
檻の中の箱庭
Contentsuggested
Romaji Textro

Romanization of the Japanese text.

Example
Ori no Naka no Hakoniwa
Contentsuggested
English Texten

English translation of the Japanese text.

Example
The Miniature Garden within the Cage
Contentsuggested