Template:Card infobox: Difference between revisions

From Warzone Wiki
Jump to navigation Jump to search
DanWL60 (talk | contribs)
add optional extra field
DanWL60 (talk | contribs)
details no how to use extra
Line 14: Line 14:
</nowiki>
</nowiki>
</pre>
</pre>
<code>extra</code> is an optional field that allows more settings to be displayed. Use <code><nowiki>{{Card infobox/row|Setting|Value}}</nowiki></code> to add rows that look exactly like the rest. Generally, <code>Value</code> should be <code>Customizable</code>.
</noinclude>
</noinclude>

Revision as of 23:06, 21 January 2025

Template:Card infobox
PiecesCustomizable
WeightCustomizable
Minimum pieces awarded per turnCustomizable
Pieces given to each player at the startCustomizable

Usage


{{Card infobox
|name=(defaults to page name)
|img=(url of the image, must be a plain image link)
|NumPieces=(defaults to Customizable)
|Weight=(defaults to Customizable)
|MinimumPiecesPerTurn=(defaults to Customizable)
|InitialPieces=(defaults to Customizable)
|extra=
}}

extra is an optional field that allows more settings to be displayed. Use {{Card infobox/row|Setting|Value}} to add rows that look exactly like the rest. Generally, Value should be Customizable.