Difference between revisions of "Template:TileIllustrations"

Jump to navigation Jump to search
no edit summary
(37 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}}&nbsp;&#124;&nbsp;{{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}}&nbsp;&#124;&nbsp;{{Feature|name=Farmhouse|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq:  
{{#ifeq: {{{G}}} | 1 | {{Tile|{{#switch: {{{edition}}}
{{{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}}&nbsp;&#124;&nbsp;{{Feature|name=Cowshed|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }} {{#ifeq:  
| C1
{{{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}}&nbsp;&#124;&nbsp;{{Feature|name=WaterTower|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq:  
| C2 = Feature_Garden_{{{edition}}}.png
{{{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}}&nbsp;&#124;&nbsp;{{Feature|name=Highwaymen|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}{{#ifeq:  
| Feature_Garden_C2.png
{{{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}}&nbsp;&#124;&nbsp;{{Feature|name=Pigsty|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }} {{#ifeq:  
}}|<br />{{TextG}}&nbsp;&#124;&nbsp;<translate><!--T:2--> Garden</translate>}} }}{{#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}}&nbsp;&#124;&nbsp;{{Feature|name=DonkeyStable|edition={{{edition|}}}|formating={{{formatingfeature|}}}}}|alignimage=bottom }} }}
{{{F}}} | 1 | {{Tile|Feature_Farmhouse_C2.png|<br />{{TextF}}&nbsp;&#124;&nbsp;<translate><!--T:3--> Farmhouse</translate>}} }}{{#ifeq:  
{{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]]}}
{{{C}}} | 1 | {{Tile|Feature_Cows_C2.png|<br />{{TextC}}&nbsp;&#124;&nbsp;<translate><!--T:4--> Cowshed</translate>}} }}{{#ifeq:  
{{Breadcrumbs
{{{W}}} | 1 | {{Tile|Feature_WaterTower_C2.png|<br />{{TextW}}&nbsp;&#124;&nbsp;<translate><!--T:5--> Water&nbsp;tower</translate>}} }}{{#ifeq:  
{{{H}}} | 1 | {{Tile|Feature_Highwayman_C2.png|<br />{{TextH}}&nbsp;&#124;&nbsp;<translate><!--T:6--> Highwaymen</translate>}} }}{{#ifeq:  
{{{P}}} | 1 | {{Tile|Feature_Pigsty_C2.png|<br />{{TextP}}&nbsp;&#124;&nbsp;<translate><!--T:7--> Pigsty</translate>}} }}{{#ifeq:  
{{{D}}} | 1 | {{Tile|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
|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> (optional) [<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>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
* <code>G</code> (optional) [<code>1</code>] Include G - Garden in illustrations - C1/C2/WE3
* <code>F</code> (optional) [<code>1</code>] Include F - Farmhouse in illustrations
* <code>F</code> (optional) [<code>1</code>] Include F - Farmhouse in illustrations - C2/WE3
* <code>C</code> (optional) [<code>1</code>] Include C - Cowshed in illustrations
* <code>C</code> (optional) [<code>1</code>] Include C - Cowshed in illustrations - C2/WE3
* <code>W</code> (optional) [<code>1</code>] Include W - Water tower in illustrations
* <code>W</code> (optional) [<code>1</code>] Include W - Water tower in illustrations - C2/WE3
* <code>H</code> (optional) [<code>1</code>] Include H - Highwaymen in illustrations
* <code>H</code> (optional) [<code>1</code>] Include H - Highwaymen in illustrations - C2/WE3
* <code>P</code> (optional) [<code>1</code>] Include P - Pigsty in illustrations
* <code>P</code> (optional) [<code>1</code>] Include P - Pigsty in illustrations - C2/WE3
* <code>D</code> (optional) [<code>1</code>] Include D - Donkey stable in illustrations
* <code>D</code> (optional) [<code>1</code>] Include D - Donkey stable in illustrations - C2/WE3
* <code>STAR</code> (optional) [<code>1</code>] Include * - Different versions of same tile
* <code>STAR</code> (optional) [<code>1</code>] Include * - Different versions of same tile


Line 38: 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> || Description of G - garden and F - farmhouse
! <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> || Description of C - cowshed, H - farmhouse and D - Donkey stale
! <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> || Description of G - garden in C1
! <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|S=1}}</nowiki></code> || Description of S - Starting tile, for example to Winter Editon Base game
! <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 62: Line 67:
| colspan="2" | {{TileIllustrations|edition=WE3|G=1}}
| colspan="2" | {{TileIllustrations|edition=WE3|G=1}}
|-
|-
! <code><nowiki>{{TileIllustrations|edition=WE3|STAR=1}}</nowiki></code> || Description of * for different versions of tiles
|-
| colspan="2" | {{TileIllustrations|edition=WE3|STAR=1}}
|}
|}
{{#switch: {{PAGELANGUAGE}}
</noinclude>
| en = [[Category:Translatable_templates]] [[Category:Editor Manual]]
|
}}</noinclude>
advancededitor, translator, writer
26,677

edits

Navigation menu