Template:LanguageBlock: Difference between revisions

From Blank Chronicle
(Created page with "<div class="language-target jp-content">{{{jp|}}}</div><div class="language-target ro-content">{{{ro|}}}</div><div class="language-target en-content">{{{en|}}}</div>")
 
No edit summary
Line 1: Line 1:
<div class="language-target jp-content">{{{jp|}}}</div><div class="language-target ro-content">{{{ro|}}}</div><div class="language-target en-content">{{{en|}}}</div>
<div class="language-target jp-content">{{{jp|}}}</div><div class="language-target ro-content">{{{ro|}}}</div><div class="language-target en-content">{{{en|}}}</div><noinclude>
<templatedata>
{
"params": {
"jp": {
"label": "Japanese Text",
"description": "Japanese text.",
"example": "檻の中の箱庭",
"type": "string",
"suggested": true
},
"ro": {
"label": "Romaji Text",
"description": "Romanization of the Japanese text.",
"example": "Ori no Naka no Hakoniwa",
"type": "string",
"suggested": true
},
"en": {
"label": "English Text",
"description": "English translation of the Japanese text.",
"example": "The Miniature Garden within the Cage",
"type": "string",
"suggested": true
}
},
"description": "This template automatically surrounds a block of multi-lingual text with the necessary markup to work with the language toggle buttons. Use this template for lyrics or other long blocks of text that appear in multiple languages. \n\n",
"format": "block"
}
</templatedata>
</noinclude>

Revision as of 17:53, 24 March 2021

This template automatically surrounds a block of multi-lingual text with the necessary markup to work with the language toggle buttons. Use this template for lyrics or other long blocks of text that appear in multiple languages.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Japanese Textjp

Japanese text.

Example
檻の中の箱庭
Stringsuggested
Romaji Textro

Romanization of the Japanese text.

Example
Ori no Naka no Hakoniwa
Stringsuggested
English Texten

English translation of the Japanese text.

Example
The Miniature Garden within the Cage
Stringsuggested