Template:Kingdom/doc
From DominionStrategy Wiki
(Difference between revisions)
m (→Additional cards) |
m (→Examples: without the final pipe it messed up the internal link to peddler) |
||
Line 43: | Line 43: | ||
===Using the imgwidth parameter=== | ===Using the imgwidth parameter=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler| |
|imgwidth = 150 | |imgwidth = 150 | ||
|colony = 1 | |colony = 1 | ||
Line 49: | Line 49: | ||
|shelters = 1 | |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| |
|id = 1 | |id = 1 | ||
|colony = 1 | |colony = 1 | ||
Line 58: | Line 58: | ||
===Using noadd=== | ===Using noadd=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler| |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
Line 65: | Line 65: | ||
|noadd = 1 | |noadd = 1 | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler| |
|id = 2 | |id = 2 | ||
|colony = 1 | |colony = 1 | ||
Line 75: | Line 75: | ||
===Using cost=== | ===Using cost=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler| |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
Line 81: | Line 81: | ||
|cost = 1 | |cost = 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| |
|id = 3 | |id = 3 | ||
|colony = 1 | |colony = 1 | ||
Line 90: | Line 90: | ||
===Using set=== | ===Using set=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler| |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
Line 96: | Line 96: | ||
|set = 1 | |set = 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| |
|id = 4 | |id = 4 | ||
|colony = 1 | |colony = 1 |
Revision as of 13:03, 30 June 2020
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 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Young Witch | Cultist | Possession | Peddler | |||||||||||||
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 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Young Witch | Cultist | Possession | Peddler | |||||||||||||
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 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Young Witch | Cultist | Possession | Peddler | |||||||||||||
Landscapes and Additional Cards | |||||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | Ruins | Shelters | ||||||||||||