Template:Piece
Revision as of 22:13, 13 March 2023 by Bumsakalaka (talk | contribs)
Unknown piece
{{{name}}}
Description
Carcassonne game piece including tokens and wooden or plastic pieces which are not defined as figure - Name with link to rules or Image with link to rules.
Also possible to use template Template:PieceWithFigure for requested meeple on requested piece, like Guard Meeple on Tower floor.
Measurements made by Scott Carcassonne Central Topic
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.
New stuff to do
ClericToken Translations:Teamplate:Feature/72
SerfToken Translations:Teamplate:Feature/72
Params
name
Required. Name of piece.edition
Optional. For expansions with edition depend rule pages, likeC1
,C2
,C3
,WD
,WE1
,WE2
,WE3
variant
Optional. [abbr
|image
|short
|text
|shorttext
] Some pieces can have definedshort
variant of name Castle vs Castle token orabbr
.size
Optional. Size of image forvariant=image
overwrites predefined size which was calculated to compare with other pieces.count
Optional. Prepend count of feature with text {{{count}}}x. Whentype=abbr
, then there is no space between count and feature.linkname
Optional. Overwrite original linkname based on Feature. Usable when want to link Fan expansions, or other expansion like initial expansion of feature.anchor
. Optional. Requested anchor if different like predefined. Predefined anchor is ignored whenlinkname
is set.