More actions
(Created page with "<includeonly><tr> <th rowspan="{{{rowspan|}}}" {{#ifeq:{{{rowspan|}}}|0|style="display:none"}}>{{{situation|}}}</th> <td lang={{{lang|}}}>{{{text|}}}</td> <td>{{{audio|}}}</td...") |
m (test editing template with partial form) |
||
Line 1: | Line 1: | ||
{{#default_form:Quotes}} | |||
<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:34, 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>