Template:GBVS-Character-infobox: Difference between revisions

Template page
m (lets see what happens when this is no longer a nested table. surely this won't cause problems, right? :))
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><tr><td id="portrait-image" align="center">[[File:{{{portrait|}}}]]</td></tr>
<tr><td align="center" colspan="2">[[File:{{{portrait}}}|450x450px]]</td></tr>
<tr class="infobox-header"><td>Health</td></tr>
<tr><td class="CharaInfoLabel">'''Health:'''</td><td>{{{health}}}</td></tr>
<tr class="infobox-data"><td>{{{health|}}}</td></tr>
<tr><td class="CharaInfoLabel">'''Prejump:'''</td><td>{{{prejump}}}</td></tr>
<tr class="infobox-header"><td>Prejump</td></tr>
<tr><td class="CharaInfoLabel">'''Backdash:'''</td><td>{{{backdash}}}</td></tr>
<tr class="infobox-data"><td>{{{prejump|}}}</td></tr>
{{#if:{{{umo|}}}|<tr><td class="CharaInfoLabel">'''Unique Movement Options:'''</td><td>{{{umo|}}}</td></tr>}}
<tr class="infobox-header"><td>Backdash</td></tr>
{{#if:{{{voice|}}}|<tr><td class="CharaInfoLabel">'''Voice:'''</td><td>{{{voice|}}}</td></tr>}}
<tr class="infobox-data"><td>{{{backdash|}}}</td></tr>
</includeonly><noinclude>{{clear}}{{doc}}[[Category:Infobox templates]]</noinclude>
<tr class="infobox-header"><td>Backshift</td></tr>
<tr class="infobox-data"><td>{{{backshift|}}}</td></tr>
{{#if:{{{umo|}}}|<tr class="infobox-header"><td>Unique Movement Options</td></tr>
<tr class="infobox-data"><td>{{{umo|}}}</td></tr>}}</includeonly><templatestyles src="Template:Infobox/shared/styles.css" /><noinclude>{{clear}}{{doc}}[[Category:Infobox templates]]</noinclude>

Latest revision as of 03:54, 6 January 2023

This template is used as a formatter for cargo queries on GBVS characters.

Example

Edit the page to see the markdown used to generate this example.

{{#cargo_query:tables=gbvsCharacters
|fields=nameplate,portrait,health,prejump,backdash,umo=umo
|where=name="{{SUBPAGENAME}}"
|format=template
|template=GBVS-Character-infobox
|named args=yes
}}
No results