Template:Kingdom

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
Line 34: Line 34:
 
  {{Kingdom/th|Colony|{{{cost|}}}|{{{set|}}}}}|}}{{pp|{{Kingdom/looter|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|true=2|false=3}}|
 
  {{Kingdom/th|Colony|{{{cost|}}}|{{{set|}}}}}|}}{{pp|{{Kingdom/looter|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|true=2|false=3}}|
 
  {{Kingdom/th|Ruins|{{{cost|}}}|{{{set|}}}}}|}}{{pp|{{#if:{{{shelters|}}}|2|3}}|
 
  {{Kingdom/th|Ruins|{{{cost|}}}|{{{set|}}}}}|}}{{pp|{{#if:{{{shelters|}}}|2|3}}|
  {{Kingdom/th|Shelters|{{{cost|}}}|{{{set|}}}}}|}}{{pp|{{#if:{{{event1|}}}|2|3}}|
+
  {{Kingdom/th|Shelters|{{{cost|}}}|{{{set|}}}}}|}}{{pp|{{#if:{{{dboon1|}}}|2|3}}|
 +
{{Kingdom/tb|{{{dboon1}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{dboon2|}}}|2|3}}|
 +
{{Kingdom/tb|{{{dboon2}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{dboon3|}}}|2|3}}|
 +
{{Kingdom/tb|{{{dboon3}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{event1|}}}|2|3}}|
 
  {{Kingdom/tf|{{{event1}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{event2|}}}|2|3}}|
 
  {{Kingdom/tf|{{{event1}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{event2|}}}|2|3}}|
 
  {{Kingdom/tf|{{{event2}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{landmark1|}}}|2|3}}|
 
  {{Kingdom/tf|{{{event2}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{landmark1|}}}|2|3}}|
 
  {{Kingdom/tg|{{{landmark1}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{landmark2|}}}|2|3}}|
 
  {{Kingdom/tg|{{{landmark1}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{landmark2|}}}|2|3}}|
  {{Kingdom/tg|{{{landmark2}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{dboon1|}}}|2|3}}|
+
  {{Kingdom/tg|{{{landmark2}}}|{{{cost|}}}|{{{set|}}}|1}}|}}
{{Kingdom/tb|{{{dboon1}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{dboon2|}}}|2|3}}|
+
{{Kingdom/tb|{{{dboon2}}}|{{{cost|}}}|{{{set|}}}|1}}|}}{{pp|{{#if:{{{dboon3|}}}|2|3}}|
+
{{Kingdom/tb|{{{dboon3}}}|{{{cost|}}}|{{{set|}}}|1}}|}}
+
 
  {{#ifeq:{{Kingdom/colspan|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|bane={{{bane|}}}|colony={{{colony|}}}}}|0||{{!}} rowspan="2" colspan="{{Kingdom/colspan|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|bane={{{bane|}}}|colony={{{colony|}}}}}" {{!}} }}
 
  {{#ifeq:{{Kingdom/colspan|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|bane={{{bane|}}}|colony={{{colony|}}}}}|0||{{!}} rowspan="2" colspan="{{Kingdom/colspan|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|bane={{{bane|}}}|colony={{{colony|}}}}}" {{!}} }}
 
  {{!}}- id="mw-customcollapsible-{{{id|{{anchorencode:{{{title|1}}}}}}}}" class="mw-collapsible mw-collapsed"
 
  {{!}}- id="mw-customcollapsible-{{{id|{{anchorencode:{{{title|1}}}}}}}}" class="mw-collapsible mw-collapsed"
Line 49: Line 49:
 
  {{Kingdom/td|Colony|{{{imgwidth|200}}}}}}}{{pp|{{Kingdom/looter|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|true=2|false=3}}|
 
  {{Kingdom/td|Colony|{{{imgwidth|200}}}}}}}{{pp|{{Kingdom/looter|{{strip|{{{1|}}}}}|{{strip|{{{2|}}}}}|{{strip|{{{3|}}}}}|{{strip|{{{4|}}}}}|{{strip|{{{5|}}}}}|{{strip|{{{6|}}}}}|{{strip|{{{7|}}}}}|{{strip|{{{8|}}}}}|{{strip|{{{9|}}}}}|{{strip|{{{10|}}}}}|true=2|false=3}}|
 
  {{Kingdom/td|Abandoned Mine|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{shelters|}}}|2|3}}|
 
  {{Kingdom/td|Abandoned Mine|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{shelters|}}}|2|3}}|
  {{Kingdom/td|Necropolis|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{event1|}}}|2|3}}|
+
  {{Kingdom/td|Necropolis|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{dboon1|}}}|2|3}}|
 +
{{Kingdom/td|{{{dboon1}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{dboon2|}}}|2|3}}|
 +
{{Kingdom/td|{{{dboon2}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{dboon3|}}}|2|3}}|
 +
{{Kingdom/td|{{{dboon3}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{event1|}}}|2|3}}|
 
  {{Kingdom/td|{{{event1}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{event2|}}}|2|3}}|
 
  {{Kingdom/td|{{{event1}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{event2|}}}|2|3}}|
 
  {{Kingdom/td|{{{event2}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{landmark1|}}}|2|3}}|
 
  {{Kingdom/td|{{{event2}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{landmark1|}}}|2|3}}|
 
  {{Kingdom/td|{{{landmark1}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{landmark2|}}}|2|3}}|
 
  {{Kingdom/td|{{{landmark1}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{landmark2|}}}|2|3}}|
  {{Kingdom/td|{{{landmark2}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{dboon1|}}}|2|3}}|
+
  {{Kingdom/td|{{{landmark2}}}|{{{imgwidth|200}}}}}|}}
{{Kingdom/td|{{{dboon1}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{dboon2|}}}|2|3}}|
+
{{Kingdom/td|{{{dboon2}}}|{{{imgwidth|200}}}}}|}}{{pp|{{#if:{{{dboon3|}}}|2|3}}|
+
{{Kingdom/td|{{{dboon3}}}|{{{imgwidth|200}}}}}|}}
+
 
}}
 
}}
 
|}<noinclude>
 
|}<noinclude>
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Revision as of 11:49, 17 November 2017

[+/-]
[[{{{1}}}]] [[{{{2}}}]] [[{{{3}}}]] [[{{{4}}}]] [[{{{5}}}]]
[[File:{{{1}}}.jpg|200px]] [[File:{{{2}}}.jpg|200px]] [[File:{{{3}}}.jpg|200px]] [[File:{{{4}}}.jpg|200px]] [[File:{{{5}}}.jpg|200px]]
[[File:{{{6}}}.jpg|200px]] [[File:{{{7}}}.jpg|200px]] [[File:{{{8}}}.jpg|200px]] [[File:{{{9}}}.jpg|200px]] [[File:{{{10}}}.jpg|200px]]
[[{{{6}}}]] [[{{{7}}}]] [[{{{8}}}]] [[{{{9}}}]] [[{{{10}}}]]

This template creates a table showing a kingdom of 10 cards.

Contents

Usage

{{Kingdom|''card1''|''card2''|''card3''|...|''card10''
| title     =
| id        =

| colony    =
| bane      =
| shelters  =

| event1    =
| event2    =
| project1  =
| project2  =

<!-- Delete the artifacts you don't need...
| artifact1 = Flag           <!-- goes with Flag Bearer -->
| artifact2 = Horn           <!-- goes with Border Guard -->
| artifact3 = Key            <!-- goes with Treasurer -->
| artifact4 = Lantern        <!-- goes with Border Guard -->
| artifact5 = Treasure Chest <!-- goes with Swashbuckler -->
...then delete both parts of this comment. -->

| landmark1 =
| landmark2 =
| way1      =
| way2      =
| dboon1    =
| dboon2    =
| dboon3    =

| imgwidth  = 
| cost      =
| set       =
| noadd     =
}}

Parameters

Required

cardn 
The name of the nth Card

Optional

title 
Title (name) of the Kingdom
id 
This must be different for each Kingdom on the page so they don't collapse/expand together. Defaults to title (or 1 if title is not provided)

imgwidth 
The width of card images in pixels. Note that imgwidth smaller than 150 is not recommended, as it tends to look bad.
cost 
Non-whitespace will cause the costs of card to show up
set 
Non-whitespace will cause the sets icons of card to show up
noadd 
Non-whitespace will hide the additional cards completely

Additional cards

colony 
Non-whitespace indicates ColonyColony.jpg game
bane 
If Young WitchYoung Witch.jpg is present, specify the bane card
shelters 
Non-whitespace indicates Shelters game

Note that PotionPotion.jpg, Ruins, Boons, Hexes, and Artifacts [hopefully soon] are automatically added and don't need to be specified in parameters.

events, projects, landmarks, ways 
Specify which ones are in the kingdom, keeping in mind the designer's recommendation of a maximum of two total.
dboon1, 2, 3 
Specify which 3 Boons should be set aside for Druid.

Examples

{{Kingdom|Blessed Village|Druid|Fool|Sacred Grove|Tracker|Caravan Guard|Guide|Haunted Woods|Hireling|Ranger
|dboon1 = The Sky's Gift
|dboon2 = The Field's Gift
|dboon3 = The Sea's Gift
|event1 = Pilgrimage
|imgwidth = 150
|title = Lost in the Woods}}
Lost in the Woods [images]
Blessed Village Druid Fool Sacred Grove Tracker
Blessed Village.jpg Druid.jpg Fool.jpg Sacred Grove.jpg Tracker.jpg
Caravan Guard.jpg Guide.jpg Haunted Woods.jpg Hireling.jpg Ranger.jpg
Caravan Guard Guide Haunted Woods Hireling Ranger
Landscapes and Additional Cards
Boons Pilgrimage
Boon-back.jpg Pilgrimage.jpg
Boons for Druid
The Sky's Gift The Field's Gift The Sea's Gift
The Sky's Gift.jpg The Field's Gift.jpg The Sea's Gift.jpg


Using the imgwidth parameter

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
|imgwidth = 150
|colony = 1
|bane = Chapel
|shelters = 1
}}
[images]
Secret Chamber Shanty Town Baron Bridge Ironworks
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Young Witch.jpg Cultist.jpg Possession.jpg Peddler.jpg
Island Young Witch Cultist Possession Peddler
Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony Ruins Shelters
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg Shelters.jpg

Using noadd

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|
|colony = 1
|bane = Chapel
|shelters = 1
|imgwidth = 125
|noadd = 1
}}
[images]
Secret Chamber Shanty Town Baron Bridge Ironworks
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Moneylender.jpg Young Witch.jpg Possession.jpg Peddler.jpg
Island Moneylender Young Witch Possession Peddler

Using cost

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
|colony = 1
|bane = Chapel
|shelters = 1
|cost = 1
}}
[images]
$2 Secret Chamber $3 Shanty Town $4 Baron $4 Bridge $4 Ironworks
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Young Witch.jpg Cultist.jpg Possession.jpg Peddler.jpg
$4 Island $4 Young Witch $5 Cultist $6P Possession $8star Peddler
Landscapes and Additional Cards
$2 Bane pile:
Chapel
$4 Potion $9 Platinum $11 Colony $0 Ruins $1 Shelters
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg Shelters.jpg

Using set

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
|colony = 1
|bane = Chapel
|shelters = 1
|set = 1
}}
[images]
Secret Chamber Intrigue old icon.png Shanty Town Intrigue icon.png Baron Intrigue icon.png Bridge Intrigue icon.png Ironworks Intrigue icon.png
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Young Witch.jpg Cultist.jpg Possession.jpg Peddler.jpg
Island Seaside icon.png Young Witch Cornucopia & Guilds icon.png Cultist Dark Ages icon.png Possession Alchemy icon.png Peddler Prosperity icon.png
Landscapes and Additional Cards
Bane pile:
Chapel
Dominion icon.png Potion Alchemy icon.png Platinum Prosperity icon.png Colony Prosperity icon.png Ruins Dark Ages icon.png Shelters Dark Ages icon.png
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg Shelters.jpg
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox