Template:Kingdom/doc
From DominionStrategy Wiki
This template creates a table showing a kingdom of 10 cards.
Contents |
Usage
{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | title = | id = | colony = | bane = | show = | 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 does not collapse/expand together. Defaults to
title
(or 1 iftitle
is not provided)
- show
- Non-whitespace will cause the table to be expanded by default
- 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 Colony game
- bane
- If Young Witch is present, specify the bane card
Note that Potion and Ruins are automatically added and doesn't need to be specified in parameters
Examples
{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}}
Chapel | Masquerade | Mining Village | Contraband | Mountebank | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Saboteur | Treasury | Vault | Adventurer | King's Court |
Using the imgwidth parameter
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |imgwidth = 150 |colony = 1 |bane = Chapel }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[File:Peddler
.jpg|150px]] | ||||||||||||||
Island | Young Witch | Cultist | Possession | [[Peddler
]] !!style="border-left-width:0px; width:20px; text-align:right; "| | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | Ruins | ||||||||||
Using noadd
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler |colony = 1 |bane = Chapel |imgwidth = 125 |noadd = 1 }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[File:Peddler
.jpg|125px]] | ||||||||||||||
Island | Moneylender | Young Witch | Possession | [[Peddler
]] !!style="border-left-width:0px; width:20px; text-align:right; "| |
Using cost
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |colony = 1 |bane = Chapel |cost = 1 }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[File:Peddler
.jpg|200px]] | ||||||||||||||
Island | Young Witch | Cultist | Possession | [[Peddler
]] !!style="border-left-width:0px; width:20px; text-align:right; "| | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | Ruins | ||||||||||
Using set
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |colony = 1 |bane = Chapel |set = 1 }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[File:Peddler
.jpg|200px]] | ||||||||||||||
Island | Young Witch | Cultist | Possession | [[Peddler
]] !!style="border-left-width:0px; width:20px; text-align:right; "| | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | Ruins | ||||||||||