Template:LanguageBlock: 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:
<div class="language-target jp-content">{{{jp|}}}</div>{{#if {{{ro|}}}|<div class="language-target ro-content">{{{ro}}}</div>|}}<div class="language-target en-content">{{{en|}}}</div><noinclude>
<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>
{
{

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.

Template parameters

This template prefers block 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