Template:Kingdom/doc
From DominionStrategy Wiki
(Difference between revisions)
Line 8: | Line 8: | ||
| colony = | | colony = | ||
| bane = | | bane = | ||
+ | | shelters = | ||
| show = | | show = | ||
Line 33: | Line 34: | ||
; colony : Non-whitespace indicates {{Card|Colony}} game | ; colony : Non-whitespace indicates {{Card|Colony}} game | ||
; bane : If {{Card|Young Witch}} is present, specify the bane card | ; bane : If {{Card|Young Witch}} is present, specify the bane card | ||
+ | ; shelters : Non-whitespace indicates {{Card|Shelters}} game | ||
Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to be specified in parameters | Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to be specified in parameters | ||
Line 45: | Line 47: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
}}</pre> | }}</pre> | ||
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | ||
Line 50: | Line 53: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|imgwidth = 150 | |imgwidth = 150 | ||
}} | }} | ||
Line 57: | Line 61: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|imgwidth = 125 | |imgwidth = 125 | ||
|noadd = 1 | |noadd = 1 | ||
Line 64: | Line 69: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|imgwidth = 125 | |imgwidth = 125 | ||
|noadd = 1 | |noadd = 1 | ||
Line 72: | Line 78: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|cost = 1 | |cost = 1 | ||
}}</pre> | }}</pre> | ||
Line 78: | Line 85: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|cost = 1 | |cost = 1 | ||
}} | }} | ||
Line 85: | Line 93: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|set = 1 | |set = 1 | ||
}}</pre> | }}</pre> | ||
Line 91: | Line 100: | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
+ | |shelters = 1 | ||
|set = 1 | |set = 1 | ||
}} | }} |
Revision as of 18:56, 10 January 2017
This template creates a table showing a kingdom of 10 cards.
Contents |
Usage
{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | title = | id = | colony = | bane = | shelters = | 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
- shelters
- Non-whitespace indicates Shelters game
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 |shelters = 1 }}
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 | Shelters | ||||||||||||
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 }}
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 |shelters = 1 |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 | Shelters | ||||||||||||
Using set
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |colony = 1 |bane = Chapel |shelters = 1 |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 | Shelters | ||||||||||||