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 |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="language-target jp-content">{{{jp|}}}</div><div class="language-target ro-content">{{{ro | <div class="language-target jp-content" lang="ja">{{{jp|}}}</div>{{#if: {{{ro|}}}|<div class="language-target ro-content" lang="ja-Latn">{{{ro}}}</div>|}}<div class="language-target en-content" lang="en">{{{en|}}}</div><noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"jp": { | |||
"label": "Japanese Text", | |||
"description": "Japanese text.", | |||
"example": "檻の中の箱庭", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"ro": { | |||
"label": "Romaji Text", | |||
"description": "Romanization of the Japanese text.", | |||
"example": "Ori no Naka no Hakoniwa", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"en": { | |||
"label": "English Text", | |||
"description": "English translation of the Japanese text.", | |||
"example": "The Miniature Garden within the Cage", | |||
"type": "content", | |||
"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> |
Latest revision as of 14:51, 31 May 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.
| Content | suggested |
Romaji Text | ro | Romanization of the Japanese text.
| Content | suggested |
English Text | en | English translation of the Japanese text.
| Content | suggested |