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:UnitsTable: Difference between revisions

From Super Fantasy Kingdom Official Wiki
wgg>Cadaei
Created page with "<includeonly>{{CargoUnitTableHeader}}{{#cargo_query:tables=Units |fields=name,unlocking,damageType,element,movement,attackStyle,role,kingdom |format=template |template=CargoUnitTableRow |named args=yes }}{{TableEndHtml}}</includeonly><noinclude>Displays a table of all units with properties. Use with <nowiki>{{UnitTable}}</nowiki> Category:Cargo query templates</noinclude>"
 
wgg>Cadaei
only showing released units
Line 1: Line 1:
<includeonly>{{CargoUnitTableHeader}}{{#cargo_query:tables=Units
<includeonly>{{CargoUnitTableHeader}}{{#cargo_query:tables=Units
|fields=name,unlocking,damageType,element,movement,attackStyle,role,kingdom
|fields=name,unlocking,damageType,element,movement,attackStyle,role,kingdom
|where=unreleased='0' OR unreleased IS NULL
|format=template
|format=template
|template=CargoUnitTableRow
|template=CargoUnitTableRow
Line 6: Line 7:
}}{{TableEndHtml}}</includeonly><noinclude>Displays a table of all units with properties. Use with
}}{{TableEndHtml}}</includeonly><noinclude>Displays a table of all units with properties. Use with
  <nowiki>{{UnitTable}}</nowiki>
  <nowiki>{{UnitTable}}</nowiki>
{{UnitTable}}
[[Category:Cargo query templates]]</noinclude>
[[Category:Cargo query templates]]</noinclude>

Revision as of 22:25, 18 October 2023

Displays a table of all units with properties. Use with

{{UnitTable}}

Template:UnitTable