Template:BlurbJP: Difference between revisions

Jump to navigation Jump to search
(Created page with "<includeonly> {| class="wikitable mobile-vertical" style="margin:1px;" |style="vertical-align:top;"|<div style="padding:1em;">{{{blurb}}}</div> |style="vertical-align:top;"|<div style="padding:1em;"><i>{{{romaji}}}</i></div> {{#if:{{{translation|}}}|{{BlurbJP/Translation|{{{translation}}}}}}} |} </includeonly><noinclude> {{Documentation}} Category:Text Formatting Templates </noinclude>")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
|style="vertical-align:top;"|<div style="padding:1em;"><i>{{{romaji}}}</i></div>
|style="vertical-align:top;"|<div style="padding:1em;"><i>{{{romaji}}}</i></div>
{{#if:{{{translation|}}}|{{BlurbJP/Translation|{{{translation}}}}}}}
{{#if:{{{translation|}}}|{{BlurbJP/Translation|{{{translation}}}}}}}
|}
|}</includeonly><noinclude>
</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Text Formatting Templates]]
[[Category:Table Templates]]
</noinclude>
</noinclude>

Latest revision as of 05:00, 12 November 2023

Purpose

Table template used to add a Japanese language blurb in Blurb sections, with separate tables for both the original Japanese text and rōmaji. A translation of the text can also be provided by adding the optional parameter translation= (function handled by Template:BlurbJP/Translation).

Use Template:BlurbEN for English language blurbs in English releases.

Usage

The original text blurb and rōmaji are required parameters and must be added. The translation= parameter is optional.

Multiple tabs can be added to the table by enclosing the template between <tabber></tabber> tags and adding Tab name= as the tab. Each tab must use its own template and must be separated with |-|. This should be done if a piece of media has different blurbs across releases.

Code

Single blurb with translation:

{{BlurbJP
|blurb=
|romaji=
|translation=
}}

Multiple tabs:

<tabber>
Tab 1=
{{BlurbJP
|blurb=
|romaji=
|translation=
}}
|-|
Tab 2=
{{BlurbJP
|blurb=
|romaji=
|translation=
}}
</tabber>