Template:Piece
Revision as of 14:25, 23 February 2023 by Bumsakalaka (talk | contribs)
Unknown name
{{{name}}}
Description
Translatable lists of pieces
Possible future version can read those data from some kind of database. Currently it is hardcoded. But when it will replaced by mentioned database approach, it will not need to update any Wiki page for it, because it's called by variables defined in this template.
Params
name
Required. Name of piece.edition
Optional. For expansions with edition depend rule pages, likeC1
,C2
,C3
variant
Optional. Some pieces can have definedshort
variant of name Castle vs Castle tokencount
Optional. Prepend count of feature with text {{{count}}}x. Whentype=abbr
, then there is no space between count and feature.
Examples
Code | Output |
---|---|
Exp. 4 - The Tower | |
Will be added | |
Exp. 6 - Count, King & Robber | |
Will be added | |
Exp. 8 - Bridges, Castles & Bazaars | |
{{Feature|name=CastleToken|edition=C2}} |
Unknown feature CastleToken
|
{{Feature|name=CastleToken|edition=C2|version=short}} |
Unknown feature CastleToken
|
The Tunnel | |
Will be added | |
Fan Expansions with Complete Rules | |
Cleric & Serf | |
Will be added |