Template:Kingdom/doc
From DominionStrategy Wiki
(Difference between revisions)
Line 12: | Line 12: | ||
==Parameters== | ==Parameters== | ||
===Required=== | ===Required=== | ||
− | + | ; card<sub>n</sub> : The name of the n<sup>th</sup> Card | |
===Optional=== | ===Optional=== | ||
− | + | ; imgwidth : The width of card images in pixels | |
− | + | ; mini : If not whitespace, no card image is shown | |
====Additional cards==== | ====Additional cards==== | ||
− | : | + | ; noadd : Non-whitespace will hide the Addtional cards completely |
− | : | + | ; cost : Non-whitespace will cause the costs of card to show up |
− | : | + | ; colony : Non-whitespace indicates {{Card|Colony}} game |
+ | ; bane : If {{Card|Young Witch}} is present, specify the bane card | ||
Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to specified in parameters | Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to specified in parameters | ||
+ | |||
==Examples== | ==Examples== |
Revision as of 19:33, 10 November 2012
This template creates a table showing a kingdom of 10 cards.
Contents |
Usage
{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = | mini = | noadd = | colony = | bane = }}
Parameters
Required
- cardn
- The name of the nth Card
Optional
- imgwidth
- The width of card images in pixels
- mini
- If not whitespace, no card image is shown
Additional cards
- noadd
- Non-whitespace will hide the Addtional cards completely
- cost
- Non-whitespace will cause the costs of card to show up
- 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 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=125 |colony = 1 |bane = Chapel }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Young Witch | Cultist | Possession | Peddler | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | Ruins | ||||||||||
Using the mini parameter
{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}}
Chapel | Masquerade | Mining Village | Contraband | Mountebank | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Saboteur | Treasury | Vault | Adventurer | King's Court |
Mini with additional cards
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |mini = 1 |colony = 1 |bane = Chapel }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Moneylender | Young Witch | Possession | Peddler | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | |||||||||||
Using noadd
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |mini = 1 |noadd = 1 |colony = 1 |bane = Chapel }}
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Moneylender | Young Witch | Possession | Peddler |