Difference between revisions of "Template:TileIllustrations"
Jump to navigation
Jump to search
Meepledrone (talk | contribs) m (Test for WE3) |
Bumsakalaka (talk | contribs) |
||
(33 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{{S|}}} | 1 | <div><translate><!--T:17--> One of the tiles marked with "({{TextS}})" is the starting tile (with a dark back).</translate></div>}} | <includeonly>{{#ifeq: {{{S|}}} | 1 | <div><translate><!--T:17--> One of the tiles marked with "({{TextS}})" is the starting tile (with a dark back).</translate></div>}}{{#ifeq: {{{STAR|}}} | 1 | <div><translate><!--T:18--> Tiles marked with a star (*) have graphically different versions included in the game (trees, houses, etc).</translate></div>}}{{#ifeq: {{#expr: {{{G|0}}} or {{{F|0}}} or {{{C|0}}} or {{{W|0}}} or {{{H|0}}} or {{{P|0}}} or {{{D|0}}} }} | 1 | <div><translate><!--T:1--> Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:</translate>{{BeginTileList|width=500px|align=bottom}}{{#if: {{{edition|}}} | | [[Category:Editor manual - Missing edition in TileIllustrations]] }} | ||
{{#ifeq: {{{STAR|}}} | 1 | <div><translate><!--T:18--> Tiles marked with a star (*) have graphically different versions included in the game (trees, houses, etc).</translate></div>}} | {{#ifeq: {{{G}}} | 1 | {{Tile|image={{Feature|name=Garden|edition={{{edition|}}}|variant=imagename}}|size=79px|padding-right=15px|text=|count=|config={{Feature|name=Garden|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=Garden|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq: | ||
{{#ifeq: {{#expr: {{{G|0}}} or {{{F|0}}} or {{{C|0}}} or {{{W|0}}} or {{{H|0}}} or {{{P|0}}} or {{{D|0}}} }} | 1 | <translate><!--T:1--> Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:</translate>{{BeginTileList|500px}}{{#if: {{{edition|}}} | | [[Category:Editor manual - Missing edition in TileIllustrations]] }} | {{{F}}} | 1 | {{Tile|image={{Feature|name=Farmhouse|edition={{{edition|}}}|variant=imagename}}|size=x58px|padding-right=15px|text=|count=|config={{Feature|name=Farmhouse|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=Farmhouse|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq: | ||
{{#ifeq: {{{G}}} | 1 | {{Tile|{{ | {{{C}}} | 1 | {{Tile|image={{Feature|name=Cowshed|edition={{{edition|}}}|variant=imagename}}|size=x58px|padding-right=15px|text=|count=|config={{Feature|name=Cowshed|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=Cowshed|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }} {{#ifeq: | ||
| | {{{W}}} | 1 | {{Tile|image={{Feature|name=WaterTower|edition={{{edition|}}}|variant=imagename}}|size=x58px|padding-right=15px|text=|count=|config={{Feature|name=WaterTower|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=WaterTower|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq: | ||
| | {{{H}}} | 1 | {{Tile|image={{Feature|name=Highwaymen|edition={{{edition|}}}|variant=imagename}}|size=x58px|padding-right=15px|text=|count=|config={{Feature|name=Highwaymen|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=Highwaymen|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq: | ||
| | {{{P}}} | 1 | {{Tile|image={{Feature|name=Pigsty|edition={{{edition|}}}|variant=imagename}}|size=x58px|padding-right=15px|text=|count=|config={{Feature|name=Pigsty|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=Pigsty|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }} {{#ifeq: | ||
{{{D}}} | 1 | {{Tile|image={{Feature|name=DonkeyStable|edition={{{edition|}}}|variant=imagename}}|size=x58px|padding-right=15px|text=|count=|config={{Feature|name=DonkeyStable|edition={{{edition|}}}|variant=abbr}} | {{Feature|name=DonkeyStable|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }} | |||
}}| | {{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>}}</div> }}</includeonly><noinclude><languages />{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}} | ||
{{{F}}} | 1 | {{Tile| {{ | {{Breadcrumbs | ||
| | |||
| | |||
| | |||
{{{C}}} | 1 | {{Tile| {{ | |||
| | |||
| | |||
| | |||
{{{W}}} | 1 | {{Tile| {{ | |||
| | |||
| | |||
| | |||
{{{H}}} | 1 | {{Tile| {{ | |||
| | |||
| | |||
| | |||
{{{P}}} | 1 | {{Tile| {{ | |||
| | |||
| | |||
| | |||
{{{D}}} | 1 | {{Tile| {{ | |||
| | |||
| | |||
| | |||
{{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}} | ||
}} | }} | ||
== Description == | == Description == | ||
Tile illustrations description, usually showed below <code><nowiki>{{BeginTileList}}..{{EndTileList}}</nowiki></code>.<br /> | Tile illustrations description, usually showed below <code><nowiki>{{BeginTileList}}..{{EndTileList}}</nowiki></code>. Names and images used from translatable [[Template:Feature]].<br /> | ||
When set <code>S=1</code>, scription about starting tile is showed.<br /> | When set <code>S=1</code>, scription about starting tile is showed.<br /> | ||
When set at least one from <code>C=1</code>, note about sheds is showed.<br /> | When set at least one from <code>C=1</code>, note about sheds is showed.<br /> | ||
Pages where is called this template and required parameter <code>edition</code> is not set, will be found in category [[:Category:Editor manual - Missing edition in TileIllustrations]] | |||
== Params == | == Params == | ||
* <code>edition</code> ( | * <code>edition</code> (required) [<code>C1</code>{{!}}<code>C2</code>{{!}}<code>C3</code>{{!}}<code>WE3</code>{{!}} -empty-] Edition related design of illustration used in description, currently only supported Garden C1/C2, all others are in C2 | ||
* <code>formating</code> (optional) [<code>lowercase</code> | -empty- ] formating for feature name | |||
* <code>S</code> (optional) [<code>1</code>] Include S - Starting tile description | * <code>S</code> (optional) [<code>1</code>] Include S - Starting tile description | ||
* <code>G</code> (optional) [<code>1</code>] Include G - Garden in illustrations - C1/C2/WE3 | * <code>G</code> (optional) [<code>1</code>] Include G - Garden in illustrations - C1/C2/WE3 | ||
Line 63: | Line 35: | ||
! Wiki !! Output | ! Wiki !! Output | ||
|- | |- | ||
! <code><nowiki>{{TileIllustrations}}</nowiki></code> || Nothing will be generated, because no parameter is set. | ! <code><nowiki>{{TileIllustrations|edition=C2}}</nowiki></code> || Nothing will be generated, because no parameter is set. | ||
|- | |- | ||
| colspan="2" | {{TileIllustrations}} | | colspan="2" | {{TileIllustrations|edition=C2}} | ||
|- | |- | ||
! <code><nowiki>{{TileIllustrations|G=1|F=1}}</nowiki></code> || | ! <code><nowiki>{{TileIllustrations|edition=C3|S=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}}</nowiki></code> || Full example for {{TextC3}} | ||
|- | |- | ||
| colspan="2" | {{TileIllustrations|G=1|F=1}} | | colspan="2" | {{TileIllustrations|edition=C3|S=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}} | ||
|- | |- | ||
! <code><nowiki>{{TileIllustrations|C=1|H=1}}</nowiki></code> || | ! <code><nowiki>{{TileIllustrations|edition=C2|S=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}}</nowiki></code> || Full example for {{TextC1}} | ||
|- | |- | ||
| colspan="2" | {{TileIllustrations|C=1|H=1|D=1}} | | colspan="2" | {{TileIllustrations|edition=C2|S=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}} | ||
|- | |- | ||
! <code><nowiki>{{TileIllustrations|edition=C1|G=1}}</nowiki></code> || | ! <code><nowiki>{{TileIllustrations|edition=C1|S=1|G=1}}</nowiki></code> || Full example for {{TextC1}} | ||
|- | |- | ||
| colspan="2" | {{TileIllustrations|edition=C1|G=1}} | | colspan="2" | {{TileIllustrations|edition=C1|S=1|G=1}} | ||
|- | |- | ||
! <code><nowiki>{{TileIllustrations| | ! <code><nowiki>{{TileIllustrations|edition=C2|G=1|W=1|D=1|formatingfeature=lowercase}}</nowiki></code> || Lowecase example | ||
|- | |- | ||
| colspan="2" | {{TileIllustrations|S=1}} | | colspan="2" | {{TileIllustrations|edition=C2|G=1|W=1|D=1|formatingfeature=lowercase}} | ||
|- | |||
! <code><nowiki>{{TileIllustrations|edition=WE3|STAR=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}}</nowiki></code> || Description of * for different versions of tiles and all WE3 illustrations | |||
|- | |||
| colspan="2" | {{TileIllustrations|edition=WE3|STAR=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}} | |||
|- | |||
! <code><nowiki>{{TileIllustrations|edition=WE3|S=1}}</nowiki></code> || Description of S - Starting tile, for example to Winter Editon Base game | |||
|- | |||
| colspan="2" | {{TileIllustrations|edition=WE3|S=1}} | |||
|- | |- | ||
! <code><nowiki>{{TileIllustrations|edition=WE3|G=1}}</nowiki></code> || Description of G - garden in WE3 | ! <code><nowiki>{{TileIllustrations|edition=WE3|G=1}}</nowiki></code> || Description of G - garden in WE3 | ||
Line 87: | Line 67: | ||
| colspan="2" | {{TileIllustrations|edition=WE3|G=1}} | | colspan="2" | {{TileIllustrations|edition=WE3|G=1}} | ||
|- | |- | ||
|} | |} | ||
</noinclude> | |||
Revision as of 23:01, 27 April 2024
Description
Tile illustrations description, usually showed below {{BeginTileList}}..{{EndTileList}}
. Names and images used from translatable Template:Feature.
When set S=1
, scription about starting tile is showed.
When set at least one from C=1
, note about sheds is showed.
Pages where is called this template and required parameter edition
is not set, will be found in category Category:Editor manual - Missing edition in TileIllustrations
Params
edition
(required) [C1
|C2
|C3
|WE3
| -empty-] Edition related design of illustration used in description, currently only supported Garden C1/C2, all others are in C2formating
(optional) [lowercase
| -empty- ] formating for feature nameS
(optional) [1
] Include S - Starting tile descriptionG
(optional) [1
] Include G - Garden in illustrations - C1/C2/WE3F
(optional) [1
] Include F - Farmhouse in illustrations - C2/WE3C
(optional) [1
] Include C - Cowshed in illustrations - C2/WE3W
(optional) [1
] Include W - Water tower in illustrations - C2/WE3H
(optional) [1
] Include H - Highwaymen in illustrations - C2/WE3P
(optional) [1
] Include P - Pigsty in illustrations - C2/WE3D
(optional) [1
] Include D - Donkey stable in illustrations - C2/WE3STAR
(optional) [1
] Include * - Different versions of same tile
Examples
Wiki | Output |
---|---|
{{TileIllustrations|edition=C2}} |
Nothing will be generated, because no parameter is set. |
{{TileIllustrations|edition=C3|S=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}} |
Full example for C3 |
One of the tiles marked with "(S)" is the starting tile (with a dark back). Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:Note: The small illustrations of a cowshed, a pigsty and a donkey stable are collectively referred to as sheds or stables.
| |
{{TileIllustrations|edition=C2|S=1|G=1|F=1|C=1|H=1|D=1|P=1|W=1}} |
Full example for C1 |
One of the tiles marked with "(S)" is the starting tile (with a dark back). Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:Note: The small illustrations of a cowshed, a pigsty and a donkey stable are collectively referred to as sheds or stables.
| |
{{TileIllustrations|edition=C1|S=1|G=1}} |
Full example for C1 |
One of the tiles marked with "(S)" is the starting tile (with a dark back).
| |
{{TileIllustrations|edition=C2|G=1|W=1|D=1|formatingfeature=lowercase}} |
Lowecase example |
Several tiles have a small illustration on them. The letters in brackets show which illustration is on each tile:Note: The small illustrations of a cowshed, a pigsty and a donkey stable are collectively referred to as sheds or stables.
| |
{{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:Note: The small illustrations of a cowshed, a pigsty and a donkey stable are collectively referred to as sheds or stables.
| |
{{TileIllustrations|edition=WE3|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 |