Difference between revisions of "Template:ChooseDesign"
Cicerunner (talk | contribs) (→Description: // grammar) Tags: Mobile edit Mobile web edit |
Cicerunner (talk | contribs) (// grammar & consistency of phrasing) Tags: Mobile edit Mobile web edit |
||
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 | <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--> | </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 | {{#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. |
Revision as of 21:56, 23 April 2024
Description
Create design to choose rules for different editions or different games.
Parameters
image
image for show design of tile for which rules pageimage2
(optional) image for show 2nd design of tile for which rules pageotherlink
(optional) link for rules for other version of rules for example{{BaseGameLink|edition=C1|logo=noborder}}
otherimage
(optional) image for other rules sectionotherimage2
(optional) 2nd image for other rules sectionnoredesign
(Optional) valuetrue
show information, that current design was not release in other editionstype
(optional) type of game [basegame
|spin-off
|expansion
|standaloneexpansion
] when not setexpansion
is usedhidespinoff
(optional) valuetrue
hides spin-off sectionshowcarcassonne
(optional) valuetrue
show regular Carcassonne sectionindependent
(optional) valuetrue
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}}
You are reading the rules for this tile design. |
If your tiles have a different design, then choose a game from Spin-offs. |
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}}}}
You are reading the rules for this tile design. |
Read the following rules if your tiles look like this. The Princess & the Dragon |
If your tiles have a different design, then choose a game from Spin-offs. |
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}}}}
You are reading the rules for this tile design. |
Read the following rules if your tiles look like this. Winter Edition Base Game |
If your tiles have a different design, then choose a game from Spin-offs. |
Example with noredesign=true
{{ChooseDesign|image=20AE_Base_Game_C2_Tile_O.png|image2=Base_Game_C1_Tile_10.jpg|noredesign=true}}
You are reading the rules for this tile design. |
This expansion was not published in other editions. |
If your tiles have a different design, then choose a game from Spin-offs. |
Example with hidespinoff=true
{{ChooseDesign|image=20AE_Base_Game_C2_Tile_O.png|image2=Base_Game_C1_Tile_10.jpg|hidespinoff=true}}
You are reading the rules for this tile design. |
Example with showcarcassonne=true
{{ChooseDesign|image=Amazonas-tile14.png|image2=Amazonas-tile22.png|showcarcassonne=true}}
You are reading the rules for this tile design. |
If your tiles look like this, you have regular Carcassonne tiles. |
If your tiles have a different design, then choose a game from Spin-offs. |
Example with idependend=true
{{ChooseDesign|image={{Figure|name=BlackDragon|variant=imagename}}|independent=true}}
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. |
Example with Double tiles
{{ChooseDesign|image=Castles C1 03.png|otherimage=German Castles C3 Tile 03.png|otherlink={{CastlesGermanyLink|edition=C3|logo=noborder}}}}
You are reading the rules for this tile design. |
Read the following rules if your tiles look like this. Castles in Germany |
If your tiles have a different design, then choose a game from Spin-offs. |