This template creates a listing of graphical unit panels automatically, listing all unit panels where there is a page correctly using {{Unit infobox}} to add the unit information to the Units table. See Help:Automated lists for more information and how to troubleshoot any issues that might crop up.
Usage:
{{Unit panels |gold=yes, no, or leave blank |energy=yes, no, or leave blank |green=yes, no, or leave blank |blue=yes, no, or leave blank |red=yes, no, or leave blank |spell=yes, no, or leave blank |frontline=yes, no, or leave blank |fragile=yes, no, or leave blank |blocker=yes, no, or leave blank |prompt=yes, no, or leave blank |attack=yes, no, or leave blank |stamina=yes, no, or leave blank |exhaust=yes, no, or leave blank |ability_exhaust=yes, no, or leave blank |lifespan=yes, no, or leave blank |sacrificable=yes, no, or leave blank }}
For discrete values such as the spell
parameter, yes
will restrict results to units that have that quality, no
will restricts results to those who do not have it, and leaving the parameter blank means both units that do and do not have that quality are returned. For numeric values like the gold
cost, yes
restricts results to units where the gold cost is nonzero, no
restricts results to those with zero gold cost, and leaving blank returns units with either zero or nonzero gold cost.
This template uses {{Unit panels/item}} for each item.
The above documentation is transcluded from Template:Unit panels/doc. (edit | history)