Template:LanguageInline: Difference between revisions

From Blank Chronicle
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="language-target jp-content">{{{jp|}}}</span>{{#if: {{{ro|}}}|<span class="language-target ro-content">{{{ro}}}</span>|}}<span class="language-target en-content">{{{en|}}}</span><noinclude>
<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>
<templatedata>
<templatedata>
{
{
Line 25: Line 25:
}
}
},
},
"description": "This template automatically surrounds in-line multi-lingual text with the necessary markup to work with the language toggle buttons. Use this in infoboxes and in the middle of sentences.",
"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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Japanese Textjp

Japanese text.

Example
檻の中の箱庭
Contentsuggested
Romaji Textro

Romanization of the Japanese text.

Example
Ori no Naka no Hakoniwa
Contentsuggested
English Texten

English translation of the Japanese text.

Example
The Miniature Garden within the Cage
Contentsuggested