Difference between revisions of "Template:Piece"
Jump to navigation
Jump to search
Bumsakalaka (talk | contribs) |
|||
Line 186: | Line 186: | ||
| short = {{#ifeq: {{{edition}}} | C1 | <translate><!--T:62--> Cloister</translate> | <translate><!--T:63--> Monastery</translate> }} | | short = {{#ifeq: {{{edition}}} | C1 | <translate><!--T:62--> Cloister</translate> | <translate><!--T:63--> Monastery</translate> }} | ||
| {{#ifeq: {{{edition}}} | C1 | <translate><!--T:64--> Cloister token</translate> | <translate><!--T:65--> Monastery token</translate> }} }} }}} }} | | {{#ifeq: {{{edition}}} | C1 | <translate><!--T:64--> Cloister token</translate> | <translate><!--T:65--> Monastery token</translate> }} }} }}} }} | ||
| LittleBuildingTokens = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_Little_Building_C1.png|size={{{size|x70px}}} | | LittleBuildingTokens = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|{{#if: {{{linkname|}}} | | little_building }} }}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_Little_Building_C1.png|size={{{size|x70px}}} | ||
|text={{{text|{{#switch: {{{variant}}} | |text={{{text|{{#switch: {{{variant}}} | ||
| short = <translate><!--T:186--> Little Buildings</translate> | | short = <translate><!--T:186--> Little Buildings</translate> | ||
| <translate><!--T:187--> Little Building tokens</translate> }} }}} }} | | <translate><!--T:187--> Little Building tokens</translate> }} }}} }} | ||
| LittleBuildingHouseToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_LB_House4_C1.png|size={{{size|x40px}}} | | LittleBuildingHouseToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|{{#if: {{{linkname|}}} | | little_building }} }}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_LB_House4_C1.png|size={{{size|x40px}}} | ||
|text={{{text|{{#switch: {{{variant}}} | |text={{{text|{{#switch: {{{variant}}} | ||
| short = <translate><!--T:99--> | | short = <translate><!--T:99--> House</translate> | ||
| <translate><!--T:100--> Little Building House token</translate> }} }}} }} | | <translate><!--T:100--> Little Building House token</translate> }} }}} }} | ||
| LittleBuildingShedToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_LB_Shed4_C1.png|size={{{size|x40px}}} | | LittleBuildingShedToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|{{#if: {{{linkname|}}} | | little_building }} }}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_LB_Shed4_C1.png|size={{{size|x40px}}} | ||
|text={{{text|{{#switch: {{{variant}}} | |text={{{text|{{#switch: {{{variant}}} | ||
| short = <translate><!--T:101--> | | short = <translate><!--T:101--> Shed</translate> | ||
| <translate><!--T:102--> Little Building Shed token</translate> }} }}} }} | | <translate><!--T:102--> Little Building Shed token</translate> }} }}} }} | ||
| LittleBuildingTowerToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_LB_Tower4_C1.png|size={{{size|x40px}}} | | LittleBuildingTowerToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|{{#if: {{{linkname|}}} | | little_building }} }}}|linkname={{{linkname|LittleBuildingsLink}}}|image=Token_LB_Tower4_C1.png|size={{{size|x40px}}} | ||
|text={{{text|{{#switch: {{{variant}}} | |text={{{text|{{#switch: {{{variant}}} | ||
| short = <translate><!--T:89--> | | short = <translate><!--T:89--> Tower</translate> | ||
| <translate><!--T:90--> Little Building Tower token</translate> }} }}} }} | | <translate><!--T:90--> Little Building Tower token</translate> }} }}} }} | ||
| NoteToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|BardsCarcassonneLink}}}|image={{#switch: {{{edition}}} | | NoteToken = {{ItemLink|variant={{{variant|}}}|edition={{{edition|}}}|anchor={{{anchor|}}}|linkname={{{linkname|BardsCarcassonneLink}}}|image={{#switch: {{{edition}}} |
Revision as of 21:56, 7 April 2024
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.
Todo
- 1.
Cloth Token, Wheat token, Wine token ( Traders & Builders) - 2.
Catapult tokens ( The Catapult) - 3.
The Bets tokens ( The Bets) - 4.
Fruits tokens ( The Fruit-Bearing Trees) - 5.
Little buildings ( Little Buildings), try search LB to all Little Buildings token images - 6.
Plague tokens ( The Plague) - 7.
Tollkeeper tokens ( The Tollkeepers) - 8.
Tunnel tokens ( The Tunnel) - 9.
ClericTile Translations:Teamplate:Feature/72 Cleric.jpg, SerfToken Translations:Teamplate:Feature/72, Serf.jpg - 10.
Gambler's tokens ( Gambler's Luck) - 11.
COVID-19 token ( COVID-19) - 12.
Catapult itself - 13.
Ferry - 14.
Flight Die - 15.
Gold Ingot - 16.
Tower itself - 17.
Scoring Board - 18.
Scoring Board St. Nicolaus - 19. La Porxada tokens
- 20. Land Surveyors Scoring tokens
- 21. Land Surveyors 2 Scoring tokens
- 22. Catapult Ruler
- 23. 100 point scoreboard, 200 point score board
- 24. Other Little buildings tokens
- 25.
Cards ( The Gifts)
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
|imageandtext
|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}}}×. 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.