Template:Quotes: Difference between revisions

Template page
m (left align situation text)
m (applies fixed column widths)
 
Line 1: Line 1:
<includeonly><tr>
<includeonly><tr>
<th rowspan="{{{rowspan|}}}" style="text-align:left;{{#ifeq:{{{rowspan|}}}|0|display:none;}}">{{{situation|}}}</th>
<th rowspan="{{{rowspan|}}}" style="width:200px; text-align:left;{{#ifeq:{{{rowspan|}}}|0|display:none;}}">{{{situation|}}}</th>
<td lang={{{lang|}}}>{{{text|}}}</td>
<td lang={{{lang|}}}>{{{text|}}}</td>
<td>{{#arraymap:{{{audio|}}}|,|x|{{Audio|x}}|\s}}</td>
<td style="width:100px;">{{#arraymap:{{{audio|}}}|,|x|{{Audio|x}}|\s}}</td>
</tr></includeonly><noinclude>
</tr></includeonly><noinclude>
A template standardizing quotes and streamlining them.
A template standardizing quotes and streamlining them.

Latest revision as of 19:44, 23 January 2021

A template standardizing quotes and streamlining them.

Usage

{{Quotes
|rowspan=rowspan of the table row. Use 0 for repeat situations. The default rowspan is 1.
|situation=description of the line's trigger, the move name, etc.
|text=
|audio=filename.ogg,file2.ogg,file3.ogg,file4.ogg (no spaces necessary)
|lang=language code (en or ja)
}}

e.g.
{{Quotes|rowspan=2|situation=Vs. [[Ragna the Bloodedge]]|text=|lang=en}}
{{Quotes|rowspan=0|situation=Vs. [[Ragna the Bloodedge]]|text=|audio=|lang=ja}}

Example

Situation Quote Audio
Vs. Ragna the Bloodedge Hmm... Not bad. Still, no match for me. Play
Vs. Ragna the Bloodedge Play
Vs. Jin Kisaragi You're a cutie, aren't you? You wanna join me? Play
Vs. Jin Kisaragi Play