Template:Piece
Revision as of 14:21, 7 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.
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
] 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.
Examples
Code | Output | variant=short |
variant=image
|
---|---|---|---|
The Tower | |||
{{Piece|name=TowerFloor|edition=C2}} |
Tower floor | ||
{{Piece|name=TowerFloor|edition=C1}} |
Tower piece | ||
Exp. 6 - Count, King & Robber | |||
{{Piece|name=KingTile|edition=C2}} |
King tile | King | |
{{Piece|name=KingTile|edition=C1}} |
King tile | King | |
{{Piece|name=KingToken|edition=C2}} |
King token | ||
{{Piece|name=RobberBaronTile|edition=C2}} |
Robber Baron tile | Robber Baron | |
{{Piece|name=RobberBaronTile|edition=C1}} |
Robber Baron tile | Robber Baron | |
{{Piece|name=RobberBaronToken|edition=C2}} |
Robber Baron token | ||
Exp. 8 - Bridges, Castles & Bazaars | |||
{{Piece|name=Bridge}} |
Bridge | ||
{{Piece|name=CastleToken|edition=C2}} |
Castle token | Castle | |
{{Piece|name=CastleToken|edition=C1}} |
Castle token | Castle | |
Exp. 9 - Hills & Sheep | |||
{{Piece|name=SheepToken|edition=C2}} |
Sheep token | ||
{{Piece|name=SheepToken1|edition=C2}} |
One sheep token | ||
{{Piece|name=SheepToken2|edition=C2}} |
Two sheep token | ||
{{Piece|name=SheepToken3|edition=C2}} |
Three sheep token | ||
{{Piece|name=SheepToken4|edition=C2}} |
Four sheep token | ||
{{Piece|name=WolfToken|edition=C2}} |
Wolf token | ||
{{Piece|name=SheepToken|edition=C1}} |
Sheep token | ||
{{Piece|name=SheepToken1|edition=C1}} |
One sheep token | ||
{{Piece|name=SheepToken2|edition=C1}} |
Two sheep token | ||
{{Piece|name=SheepToken3|edition=C1}} |
Three sheep token | ||
{{Piece|name=SheepToken4|edition=C1}} |
Four sheep token | ||
{{Piece|name=WolfToken|edition=C1}} |
Wolf token | ||
The Tunnel | |||
The Gingerbread Man | |||
{{Piece|name=GingerbreadManToken}} |
Gingerbread Man token | Gingerbread Man |
|
Fan Expansions with Complete Rules | |||
Black Tower | |||
{{Piece|name=BlackTowerFloor}} |
Black Tower floor | ||
{{Piece|name=WhiteTowerFloor}} |
White Tower floor | ||
City Bridges | |||
{{Piece|name=CityBridge}} |
City Bridge | ||
Cleric & Serf | |||
Will be added |