Template:LanguageBlock: Difference between revisions
No edit summary |
No edit summary |
||
(3 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> | <templatedata> | ||
{ | { | ||
Line 7: | Line 7: | ||
"description": "Japanese text.", | "description": "Japanese text.", | ||
"example": "檻の中の箱庭", | "example": "檻の中の箱庭", | ||
"type": " | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 14: | 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": " | "type": "content", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 21: | 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": " | "type": "content", | ||
"suggested": true | "suggested": true | ||
} | } |
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 |