Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.

Template:CargoUnitsTableRow: Difference between revisions

From Super Fantasy Kingdom Official Wiki
optional description column
added onWall, OnBench, if for unlock
Line 1: Line 1:
<includeonly><tr><td>[[File:{{{name|}}}.png|64px|{{{name|}}}|link={{{name|}}}]]</td>
<includeonly><tr><td>[[File:{{{name|}}}.png|64px|{{{name|}}}|link={{{name|}}}]]</td>
<td>[[{{{name|}}}]]</td>{{#if:{{{description|}}}|
<td>[[{{{name|}}}]]</td>
<td>{{{description|}}}</td>}}
{{#if:{{{description|}}}|<td>{{{description|}}}</td>}}
<td>{{{unlocking|}}}</td>
{{#if:{{{unlocking|}}}|<td>{{{unlocking|}}}</td>}}
<td>{{damageTypeDisplay|{{{damageType|}}}}}</td>
<td>{{damageTypeDisplay|{{{damageType|}}}}}</td>
<td>{{elementDisplay|{{{element|}}}}}</td>
<td>{{elementDisplay|{{{element|}}}}}</td>
Line 10: Line 10:
<td>{{kingdomDisplay|{{{kingdom|}}}}}</td>
<td>{{kingdomDisplay|{{{kingdom|}}}}}</td>
<td>{{#ifeq:{{{onTower|}}}|1|[[File:Tower.png|20px]] yes}}</td>
<td>{{#ifeq:{{{onTower|}}}|1|[[File:Tower.png|20px]] yes}}</td>
<td>{{#ifeq:{{{onWall|}}}|1|[[File:Wall.png|20px]] yes}}</td>
<td>{{#ifeq:{{{onBench|}}}|1|[[File:Yes.png|20px]] yes}}</td>
</tr></includeonly><noinclude>Displays a table row of the [[Special:CargoTables/Units|units table]], called from [[Template:UnitsTable]].
</tr></includeonly><noinclude>Displays a table row of the [[Special:CargoTables/Units|units table]], called from [[Template:UnitsTable]].
[[Category:Cargo helper templates]]<noinclude>
[[Category:Cargo helper templates]]<noinclude>

Revision as of 16:12, 12 February 2026

Displays a table row of the units table, called from Template:UnitsTable.