Template:Quotes: Difference between revisions

Template page
m (remove test with partial forms; not the right place)
m (add section field)
Line 1: Line 1:
<includeonly><tr>
<includeonly><tr>
<th rowspan="{{{rowspan|}}}" {{#ifeq:{{{rowspan|}}}|0|style="display:none"}}>{{{situation|}}}</th>
<th>{{{section|}}}</th>
<th>{{{situation|}}}</th>
<td lang={{{lang|}}}>{{{text|}}}</td>
<td lang={{{lang|}}}>{{{text|}}}</td>
<td>{{{audio|}}}</td>
<td>{{{audio|}}}</td>
Line 9: Line 10:
<pre><nowiki>
<pre><nowiki>
{{Quotes
{{Quotes
|rowspan=a number, setting to 0 will hide {{{situation}}}
|section=Normal,Special,Distortion,Astral,System Mechanic,Other Battle Line,Transition,Interaction,Victory Screen,System Voice,Partner Swap,Assist,Assist Call
|situation=optional
|situation=description of the line's trigger, the move name, etc.
|text=
|text=
|audio={{Audio|File:filename.ogg}}
|audio={{Audio|filename.ogg}}
|lang=
|lang=language code
|origin=game of origin, if known
}}
}}
</nowiki></pre>
</nowiki></pre>


==Example==
==Example==
<table class="wikitable" style="width:100%">
<table class="wikitable sortable" style="width:100%">
<tr><th>Situation</th><th>Quote</th><th>Audio</th></tr>
<tr>
{{Quotes|rowspan=4|situation=situation|text=some text here|audio=|lang=en}}
<th>Section</th>
{{Quotes|rowspan=0|situation=situation|text=some text here|audio=|lang=jp}}
<th>Situation</th>
{{Quotes|rowspan=0|situation=situation|text=some text here|audio=|lang=en}}
<th class="unsortable">Quote</th>
{{Quotes|rowspan=0|situation=situation|text=some text here|audio=|lang=jp}}
<th class="unsortable">Audio</th>
</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>
</table>
<pre><nowiki>
<table class="wikitable" style="width:100%">
<tr><th>Situation</th><th>Quote</th><th>Audio</th></tr>
{{Quotes|rowspan=4|situation=situation|text=some text here|audio=|lang=en}}
{{Quotes|rowspan=0|situation=situation|text=some text here|audio=|lang=jp}}
{{Quotes|rowspan=0|situation=situation|text=some text here|audio=|lang=en}}
{{Quotes|rowspan=0|situation=situation|text=some text here|audio=|lang=jp}}
</table>
</nowiki></pre>


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

Revision as of 21:19, 1 November 2020

A new template standardizing the previous quotes templates and streamlining them for use with Form:Quotes.

Usage

{{Quotes
|section=Normal,Special,Distortion,Astral,System Mechanic,Other Battle Line,Transition,Interaction,Victory Screen,System Voice,Partner Swap,Assist,Assist Call
|situation=description of the line's trigger, the move name, etc.
|text=
|audio={{Audio|filename.ogg}}
|lang=language code
|origin=game of origin, if known
}}

Example

Section Situation Quote Audio
test situation some text here
test situation some text here
test situation some text here
0 situation some text here