Template:LanguageBlock: Difference between revisions
(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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Japanese Text | jp | Japanese text.
| String | suggested |
Romaji Text | ro | Romanization of the Japanese text.
| String | suggested |
English Text | en | English translation of the Japanese text.
| String | suggested |