Template:LanguageInline: Difference between revisions
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 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": " | "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": " | "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": " | "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.
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 |