More actions
m (test editing template with partial form) |
m (remove test with partial forms; not the right place) |
||
Line 1: | Line 1: | ||
<includeonly><tr> | <includeonly><tr> | ||
<th rowspan="{{{rowspan|}}}" {{#ifeq:{{{rowspan|}}}|0|style="display:none"}}>{{{situation|}}}</th> | <th rowspan="{{{rowspan|}}}" {{#ifeq:{{{rowspan|}}}|0|style="display:none"}}>{{{situation|}}}</th> |
Revision as of 19:38, 1 November 2020
A new template standardizing the previous quotes templates and streamlining them for use with Form:Quotes.
Usage
{{Quotes |rowspan=a number, setting to 0 will hide {{{situation}}} |situation=optional |text= |audio={{Audio|File:filename.ogg}} |lang= }}
Example
Situation | Quote | Audio |
---|---|---|
situation | some text here | |
some text here | ||
some text here | ||
some text here |
<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>