Difference between revisions of "Template:TileIllustrations"

From Wikicarpedia
Jump to navigation Jump to search
m (Test)
m (Test for WE3)
Line 4: Line 4:
{{#ifeq: {{{G}}} | 1 | {{Tile|{{#switch: {{{edition}}}
{{#ifeq: {{{G}}} | 1 | {{Tile|{{#switch: {{{edition}}}
| C1
| C1
| C2 = Feature_Garden_{{{edition}}}.png
| C2
| WE3 = Feature_Garden_{{{edition}}}.png
| Feature_Garden_C2.png
| Feature_Garden_C2.png
}}|<br />{{TextG}}&nbsp;&#124;&nbsp;<translate><!--T:2--> Garden</translate>}} }}{{#ifeq:  
}}|<br />{{TextG}}&nbsp;&#124;&nbsp;<translate><!--T:2--> Garden</translate>}} }}{{#ifeq:  
{{{F}}} | 1 | {{Tile|Feature_Farmhouse_{{{edition}}}.png|<br />{{TextF}}&nbsp;&#124;&nbsp;<translate><!--T:3--> Farmhouse</translate>}} }}{{#ifeq:  
{{{F}}} | 1 | {{Tile| {{#switch: {{{edition}}}
{{{C}}} | 1 | {{Tile|Feature_Cows_{{{edition}}}.png|<br />{{TextC}}&nbsp;&#124;&nbsp;<translate><!--T:4--> Cowshed</translate>}} }}{{#ifeq:  
| C2
{{{W}}} | 1 | {{Tile|Feature_WaterTower_{{{edition}}}.png|<br />{{TextW}}&nbsp;&#124;&nbsp;<translate><!--T:5--> Water&nbsp;tower</translate>}} }}{{#ifeq:  
| WE3 = Feature_Farmhouse_{{{edition}}}.png
{{{H}}} | 1 | {{Tile|Feature_Highwayman_{{{edition}}}.png|<br />{{TextH}}&nbsp;&#124;&nbsp;<translate><!--T:6--> Highwaymen</translate>}} }}{{#ifeq:  
| Feature_Farmhouse_C2.png
{{{P}}} | 1 | {{Tile|Feature_Pigsty_{{{edition}}}.png|<br />{{TextP}}&nbsp;&#124;&nbsp;<translate><!--T:7--> Pigsty</translate>}} }}{{#ifeq:  
}}|<br />{{TextF}}&nbsp;&#124;&nbsp;<translate><!--T:3--> Farmhouse</translate>}} }}{{#ifeq:  
{{{D}}} | 1 | {{Tile|Feature_Donkeys_{{{edition}}}.png|<br />{{TextD}}&nbsp;&#124;&nbsp;<translate><!--T:8--> Donkey&nbsp;stable</translate>}} }}
{{{C}}} | 1 | {{Tile| {{#switch: {{{edition}}}
| C2
| WE3 = Feature_Cows_{{{edition}}}.png
| Feature_Cows_C2.png
}}|<br />{{TextC}}&nbsp;&#124;&nbsp;<translate><!--T:4--> Cowshed</translate>}} }}{{#ifeq:  
{{{W}}} | 1 | {{Tile| {{#switch: {{{edition}}}
| C2
| WE3 = Feature_WaterTower_{{{edition}}}.png
| Feature_WaterTower_C2.png
}}|<br />{{TextW}}&nbsp;&#124;&nbsp;<translate><!--T:5--> Water&nbsp;tower</translate>}} }}{{#ifeq:  
{{{H}}} | 1 | {{Tile| {{#switch: {{{edition}}}
| C2
| WE3 = Feature_Highwayman_{{{edition}}}.png
| Feature_Highwayman_C2.png
}}|<br />{{TextH}}&nbsp;&#124;&nbsp;<translate><!--T:6--> Highwaymen</translate>}} }}{{#ifeq:  
{{{P}}} | 1 | {{Tile| {{#switch: {{{edition}}}
| C2
| WE3 = Feature_Pigsty_{{{edition}}}.png
| Feature_Pigsty_C2.png
}}|<br />{{TextP}}&nbsp;&#124;&nbsp;<translate><!--T:7--> Pigsty</translate>}} }}{{#ifeq:  
{{{D}}} | 1 | {{Tile| {{#switch: {{{edition}}}
| C2
| WE3 = Feature_Donkeys_{{{edition}}}.png
| Feature_Donkeys_C2.png
}}|<br />{{TextD}}&nbsp;&#124;&nbsp;<translate><!--T:8--> Donkey&nbsp;stable</translate>}} }}
{{EndTileList}}{{#ifeq: {{#expr: {{{C|0}}} or {{{P|0}}} or {{{D|0}}} }} | 1 | <translate><!--T:16--> '''Note:''' The small illustrations of a '''cowshed''', a '''pigsty''' and a '''donkey stable''' are collectively referred to as '''sheds''' or '''stables'''.</translate>}} }}</includeonly><noinclude><languages />{{Breadcrumbs
{{EndTileList}}{{#ifeq: {{#expr: {{{C|0}}} or {{{P|0}}} or {{{D|0}}} }} | 1 | <translate><!--T:16--> '''Note:''' The small illustrations of a '''cowshed''', a '''pigsty''' and a '''donkey stable''' are collectively referred to as '''sheds''' or '''stables'''.</translate>}} }}</includeonly><noinclude><languages />{{Breadcrumbs
|link1={{EditorManualLink}}
|link1={{EditorManualLink}}

Revision as of 01:33, 28 December 2022

Description

Tile illustrations description, usually showed below {{BeginTileList}}..{{EndTileList}}.
When set S=1, scription about starting tile is showed.
When set at least one from C=1, note about sheds is showed.

Params

  • edition (optional) [C1|C2|C3|WE3| -empty-] Edition related design of illustration used in description, currently only supported Garden C1/C2, all others are in C2
  • S (optional) [1] Include S - Starting tile description
  • G (optional) [1] Include G - Garden in illustrations - C1/C2/WE3
  • F (optional) [1] Include F - Farmhouse in illustrations - C2/WE3
  • C (optional) [1] Include C - Cowshed in illustrations - C2/WE3
  • W (optional) [1] Include W - Water tower in illustrations - C2/WE3
  • H (optional) [1] Include H - Highwaymen in illustrations - C2/WE3
  • P (optional) [1] Include P - Pigsty in illustrations - C2/WE3
  • D (optional) [1] Include D - Donkey stable in illustrations - C2/WE3
  • STAR (optional) [1] Include * - Different versions of same tile

Examples

Wiki Output
{{TileIllustrations}} Nothing will be generated, because no parameter is set.
{{TileIllustrations|G=1|F=1}} Description of G - garden and F - farmhouse
Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:
Feature Garden C3.png
G | Garden
Feature Farmhouse C3.png
{{TileIllustrations|C=1|H=1}} Description of C - cowshed, H - farmhouse and D - Donkey stale
Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:
Feature Cows C3.png
Feature Highwaymen C3.png
Note: The small illustrations of a cowshed, a pigsty and a donkey stable are collectively referred to as sheds or stables.
{{TileIllustrations|edition=C1|G=1}} Description of G - garden in C1
Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:
Feature Garden C1.png
G | Garden
{{TileIllustrations|S=1}} Description of S - Starting tile, for example to Winter Editon Base game
One of the tiles marked with "(S)" is the starting tile (with a dark back).
{{TileIllustrations|edition=WE3|G=1}} Description of G - garden in WE3
Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:
Feature Garden WE3.png
G | Garden
{{TileIllustrations|edition=WE3|STAR=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}} Description of * for different versions of tiles and all WE3 illustrations
Tiles marked with a star (*) have graphically different versions included in the game (trees, houses, etc).
Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:
Feature Garden WE3.png
G | Garden
Feature Farmhouse WE3.png
Feature Cows WE3.png
Feature WaterTower WE3.png
Feature Highwayman WE3.png
Feature Pigsty WE3.png
P | Pigsty
Note: The small illustrations of a cowshed, a pigsty and a donkey stable are collectively referred to as sheds or stables.