Template:Kingdom/doc
From DominionStrategy Wiki
(Difference between revisions)
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
− | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = | + | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' |
− | | mini | + | |imgwidth = |
+ | | mini = | ||
− | | | + | | colony = |
− | | | + | | bane = |
− | | | + | |
+ | | noadd = | ||
+ | | cost = | ||
+ | | set = | ||
}}</pre> | }}</pre> | ||
Line 19: | Line 23: | ||
====Additional cards==== | ====Additional cards==== | ||
− | |||
− | |||
; 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 | ||
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 | ||
+ | <br /> | ||
+ | ; noadd : Non-whitespace will hide the Addtional cards completely | ||
+ | ; cost : Non-whitespace will cause the costs of card to show up | ||
+ | ; set : Non-whitespace will cause the initials of the sets of card to show up | ||
Line 61: | Line 67: | ||
===Using noadd=== | ===Using noadd=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler |
+ | |imgwidth = 125 | ||
|mini = 1 | |mini = 1 | ||
|noadd = 1 | |noadd = 1 | ||
Line 67: | Line 74: | ||
|bane = Chapel | |bane = Chapel | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler |
+ | |imgwidth = 125 | ||
|mini = 1 | |mini = 1 | ||
|noadd = 1 | |noadd = 1 | ||
Line 75: | Line 83: | ||
===Using cost=== | ===Using cost=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|colony = 1 | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
+ | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
|cost = 1 | |cost = 1 | ||
Line 82: | Line 91: | ||
|bane = Chapel | |bane = Chapel | ||
|cost = 1 | |cost = 1 | ||
+ | }} | ||
+ | |||
+ | ===Using set=== | ||
+ | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | ||
+ | |colony = 1 | ||
+ | |bane = Chapel | ||
+ | |set = 1 | ||
+ | }}</pre> | ||
+ | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|colony = 1 | ||
+ | |bane = Chapel | ||
+ | |set = 1 | ||
}} | }} |
Revision as of 08:07, 11 November 2012
This template creates a table showing a kingdom of 10 cards.
Contents |
Usage
{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' |imgwidth = | mini = | colony = | bane = | noadd = | cost = | set = }}
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. Note that
mini
forcescost
.
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 specified in parameters
- noadd
- Non-whitespace will hide the Addtional cards completely
- cost
- Non-whitespace will cause the costs of card to show up
- set
- Non-whitespace will cause the initials of the sets of card to show up
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 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[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 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Young Witch | Cultist | Possession | Peddler | ||||||||||
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 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Young Witch | Cultist | Possession | Peddler | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | Ruins | ||||||||||