Difference between revisions of "Template:ChooseDesign"

From Wikicarpedia
Jump to navigation Jump to search
(→‎Description: // grammar)
Tags: Mobile edit Mobile web edit
m (// grammar)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<table style="background-color: #efefef; border: 2px solid white !important; margin: 0;">
<table style="background-color: #efefef; border: 2px solid white !important; margin: 0;">
<tr><td width="80" align="center" valign="middle">[[File:{{{image}}}|x75px|class=notpageimage|link=]]</td>
<tr><td width="80" align="center" valign="middle">[[File:{{{image}}}|x75px|class=notpageimage|link=]]</td>
<td width="150" align="center">{{#ifeq: {{{independent}}} | true | <translate><!--T:9--> This expansion is independent from design of tiles and can be played with any edition of Carcassonne or any spin-off (with small adaptations to the rules).</translate> | <translate><!--T:1--> You are reading rules for this design of tiles.</translate> }}</td>
<td width="150" align="center">{{#ifeq: {{{independent}}} | true | <translate><!--T:9--> This expansion is independent of tile design and can be played with any edition of Carcassonne or any spin-off (with small adaptations to the rules).</translate> | <translate><!--T:1--> You are reading the rules for this tile design.</translate> }}</td>
{{#if: {{{image2|}}} | <td width="80" align="center" valign="middle">[[File:{{{image2}}}|x75px|class=notpageimage|link=]]</td> }}
{{#if: {{{image2|}}} | <td width="80" align="center" valign="middle">[[File:{{{image2}}}|x75px|class=notpageimage|link=]]</td> }}
</tr></table>{{#if: {{{otherlink|}}} | <table style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td width="80" align="center" valign="middle">[[File:{{{otherimage}}}{{!}}x75px{{!}}class=notpageimage{{!}}link={{{otherlink}}}]]</td><td width="200" align="center"><translate><!--T:2--> Open following rules if your tiles looks like this tile.</translate><br />{{{otherlink}}}</td>{{#if: {{{otherimage2|}}} | <td width="80" align="center" valign="middle">[[File:{{{otherimage2}}}{{!}}x75px{{!}}class=notpageimage{{!}}link={{{otherlink}}}]]</td>}}</tr></table>}}{{#ifeq: {{{noredesign}}} | true | <table style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td align="center">{{#switch: {{{type|expansion}}}
</tr></table>{{#if: {{{otherlink|}}} | <table style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td width="80" align="center" valign="middle">[[File:{{{otherimage}}}{{!}}x75px{{!}}class=notpageimage{{!}}link={{{otherlink}}}]]</td><td width="200" align="center"><translate><!--T:2--> Read the following rules if your tiles look like this.</translate><br />{{{otherlink}}}</td>{{#if: {{{otherimage2|}}} | <td width="80" align="center" valign="middle">[[File:{{{otherimage2}}}{{!}}x75px{{!}}class=notpageimage{{!}}link={{{otherlink}}}]]</td>}}</tr></table>}}{{#ifeq: {{{noredesign}}} | true | <table style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td align="center">{{#switch: {{{type|expansion}}}
| spin-off
| spin-off
| basegame = <translate><!--T:5--> This game was not published in other editions.</translate>
| basegame = <translate><!--T:5--> This game was not published in other editions.</translate>
Line 11: Line 11:
| <translate><!--T:7--> This expansion was not published in other editions.</translate>
| <translate><!--T:7--> This expansion was not published in other editions.</translate>
}}</td></tr></table> }}
}}</td></tr></table> }}
{{#ifeq: {{{showcarcassonne|false}}} | true | <table  style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td width="200" align="center"><translate><!--T:8--> If your tiles have this design, then you have regular '''{{CarcassonneLink}}''' tiles.</translate></td><td width="80" valign="middle" align="center">[[File:Base_Game_C3_Tile_M.png|x75px|class=notpageimage]]</td></tr></table>}}
{{#ifeq: {{{showcarcassonne|false}}} | true | <table  style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td width="200" align="center"><translate><!--T:8--> If your tiles look like this, you have regular '''{{CarcassonneLink}}''' tiles.</translate></td><td width="80" valign="middle" align="center">[[File:Base_Game_C3_Tile_M.png|x75px|class=notpageimage]]</td></tr></table>}}
{{#ifeq: {{{hidespinoff|false}}} | true | | <table  style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td width="200" align="center"><translate><!--T:3--> If your tiles have different design, then choose game from</translate> '''{{MainPageLink|anchor=spin-offs|text=<translate><!--T:4--> Spin-offs</translate>}}'''.</td><td width="80" valign="middle" align="center">[[File:Rule selection by design Spin-offs.png|x75px|class=notpageimage|link={{MainPageLink|anchor=spin-offs|linkonly=true}}]]</td></tr></table>}}
{{#ifeq: {{{hidespinoff|false}}} | true | | <table  style="background-color: #efefef; border: 2px solid white !important; margin: 0;"><tr><td width="200" align="center"><translate><!--T:3--> If your tiles have a different design, then choose a game from</translate> '''{{MainPageLink|anchor=spin-offs|text=<translate><!--T:4--> Spin-offs</translate>}}'''.</td><td width="80" valign="middle" align="center">[[File:Rule selection by design Spin-offs.png|x75px|class=notpageimage|link={{MainPageLink|anchor=spin-offs|linkonly=true}}]]</td></tr></table>}}
</div></includeonly><noinclude><languages />{{Breadcrumbs|link1={{EditorManualLink}}}}{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
</div></includeonly><noinclude><languages />{{Breadcrumbs|link1={{EditorManualLink}}}}{{#if: {{#translation:}} | | [[Category:Translatable_templates]]}}
== Description ==
== Description ==
Create design to choose rules for different editions or different games.
Create design to choose rules for different editions or different games.


== Parameters ==
== Parameters ==
* <code>image</code> image for show design of tile for which rules page
* <code>image</code> image to show design of tile for which rules page
* <code>image2</code> (optional) image for show 2nd design of tile for which rules page
* <code>image2</code> (optional) image to show 2nd design of tile for which rules page
* <code>otherlink</code> (optional) link for rules for other version of rules for example <code><nowiki>{{BaseGameLink|edition=C1|logo=noborder}}</nowiki></code>
* <code>otherlink</code> (optional) link for rules for other version of rules for example <code><nowiki>{{BaseGameLink|edition=C1|logo=noborder}}</nowiki></code>
* <code>otherimage</code> (optional) image for other rules section
* <code>otherimage</code> (optional) image for other rules section

Latest revision as of 22:10, 23 April 2024

Description

Create design to choose rules for different editions or different games.

Parameters

  • image image to show design of tile for which rules page
  • image2 (optional) image to show 2nd design of tile for which rules page
  • otherlink (optional) link for rules for other version of rules for example {{BaseGameLink|edition=C1|logo=noborder}}
  • otherimage (optional) image for other rules section
  • otherimage2 (optional) 2nd image for other rules section
  • noredesign (Optional) value true show information, that current design was not release in other editions
  • type (optional) type of game [basegame|spin-off|expansion|standaloneexpansion] when not set expansion is used
  • hidespinoff (optional) value true hides spin-off section
  • showcarcassonne (optional) value true show regular Carcassonne section
  • independent (optional) value true overwrite everything with info, that this is independent expansions and can be played with small changes with any Carcassonne edition and any Spin-off.

Examples

Simple usage

{{ChooseDesign|image=20AE_Base_Game_C2_Tile_O.png|image2=Base_Game_C2_Tile_O.jpg}}

20AE Base Game C2 Tile O.png You are reading the rules for this tile design. Base Game C2 Tile O.jpg
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png

Advanced example with link to page for different edition of game

{{ChooseDesign|image=Princess_And_Dragon_C2_Tile_M.jpg|otherimage=Princess_And_Dragon_C1_Tile_17.jpg|otherimage2=Princess_And_Dragon_C1_Tile_18.jpg|otherlink={{PrincessDragonLink|edition=C1|logo=noborder}}}}

Princess And Dragon C2 Tile M.jpg You are reading the rules for this tile design.
Princess And Dragon C1 Tile 17.jpgRead the following rules if your tiles look like this.
The Princess & the Dragon The Princess & the Dragon
Princess And Dragon C1 Tile 18.jpg
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png

Advanced example with link to page for different edition of game

{{ChooseDesign|image=20AE_Base_Game_C2_Tile_O.png|image2=Base_Game_C1_Tile_10.jpg|otherimage=Winter_Edition_C2_Tile_O.jpg|otherlink={{WinterEditionBaseGameLink|logo=noborder}}}}

20AE Base Game C2 Tile O.png You are reading the rules for this tile design. Base Game C1 Tile 10.jpg
Winter Edition C2 Tile O.jpgRead the following rules if your tiles look like this.
Winter Edition Base Game Winter Edition Base Game
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png

Example with noredesign=true

{{ChooseDesign|image=20AE_Base_Game_C2_Tile_O.png|image2=Base_Game_C1_Tile_10.jpg|noredesign=true}}

20AE Base Game C2 Tile O.png You are reading the rules for this tile design. Base Game C1 Tile 10.jpg
This expansion was not published in other editions.
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png

Example with hidespinoff=true

{{ChooseDesign|image=20AE_Base_Game_C2_Tile_O.png|image2=Base_Game_C1_Tile_10.jpg|hidespinoff=true}}

20AE Base Game C2 Tile O.png You are reading the rules for this tile design. Base Game C1 Tile 10.jpg


Example with showcarcassonne=true

{{ChooseDesign|image=Amazonas-tile14.png|image2=Amazonas-tile22.png|showcarcassonne=true}}

Amazonas-tile14.png You are reading the rules for this tile design. Amazonas-tile22.png
If your tiles look like this, you have regular Carcassonne tiles.Base Game C3 Tile M.png
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png

Example with idependend=true

{{ChooseDesign|image={{Figure|name=BlackDragon|variant=imagename}}|independent=true}}

Figure Black Dragon.png This expansion is independent of tile design and can be played with any edition of Carcassonne or any spin-off (with small adaptations to the rules).
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png

Example with Double tiles

{{ChooseDesign|image=Castles C1 03.png|otherimage=German Castles C3 Tile 03.png|otherlink={{CastlesGermanyLink|edition=C3|logo=noborder}}}}

Castles C1 03.png You are reading the rules for this tile design.
German Castles C3 Tile 03.pngRead the following rules if your tiles look like this.
Castles in Germany Castles in Germany
If your tiles have a different design, then choose a game from Spin-offs.Rule selection by design Spin-offs.png