Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quotes: Difference between revisions

Template page
m (add section field)
m (applies fixed column widths)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><tr>
<includeonly><tr>
<th>{{{section|}}}</th>
<th rowspan="{{{rowspan|}}}" style="width:200px; text-align:left;{{#ifeq:{{{rowspan|}}}|0|display:none;}}">{{{situation|}}}</th>
<th>{{{situation|}}}</th>
<td lang={{{lang|}}}>{{{text|}}}</td>
<td lang={{{lang|}}}>{{{text|}}}</td>
<td>{{{audio|}}}</td>
<td style="width:100px;">{{#arraymap:{{{audio|}}}|,|x|{{Audio|x}}|\s}}</td>
</tr></includeonly><noinclude>
</tr></includeonly><noinclude>
A new template standardizing the previous quotes templates and streamlining them for use with [[Form:Quotes]].
A template standardizing quotes and streamlining them.


==Usage==
==Usage==
<pre><nowiki>
<pre><nowiki>
{{Quotes
{{Quotes
|section=Normal,Special,Distortion,Astral,System Mechanic,Other Battle Line,Transition,Interaction,Victory Screen,System Voice,Partner Swap,Assist,Assist Call
|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.
|situation=description of the line's trigger, the move name, etc.
|text=
|text=
|audio={{Audio|filename.ogg}}
|audio=filename.ogg,file2.ogg,file3.ogg,file4.ogg (no spaces necessary)
|lang=language code
|lang=language code (en or ja)
|origin=game of origin, if known
}}
}}
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}}
</nowiki></pre>
</nowiki></pre>


==Example==
==Example==
<table class="wikitable sortable" style="width:100%">
{{Quotes Header}}
<tr>
{{Quotes|rowspan=2|situation=Vs. [[Ragna the Bloodedge]]|text=Hmm... Not bad. Still, no match for me.|audio=BBCP Amane Win Quote vs Ragna (En).ogg|lang=en}}
<th>Section</th>
{{Quotes|rowspan=0|situation=Vs. [[Ragna the Bloodedge]]|text=|audio=BBCP Amane Win Quote vs Ragna (Jp).ogg|lang=ja}}
<th>Situation</th>
{{Quotes|rowspan=2|situation=Vs. [[Jin Kisaragi]]|text=You're a cutie, aren't you? You wanna join me?|audio=BBCP Amane Win Quote vs Jin (En).ogg|lang=en}}
<th class="unsortable">Quote</th>
{{Quotes|rowspan=0|situation=Vs. [[Jin Kisaragi]]|text=|audio=BBCP Amane Win Quote vs Jin (Jp).ogg|lang=ja}}
<th class="unsortable">Audio</th>
{{Quotes Footer}}
</tr>
{{Quotes|section=test|situation=situation|text=some text here|audio=|lang=en}}
{{Quotes|section=test|situation=situation|text=some text here|audio=|lang=jp}}
{{Quotes|section=test|situation=situation|text=some text here|audio=|lang=en}}
{{Quotes|section=0|situation=situation|text=some text here|audio=|lang=jp}}
</table>


[[Category:Quotes Templates]]
[[Category:Quotes Templates]]
</noinclude>
</noinclude>

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