Template:Kingdom/doc
From DominionStrategy Wiki
(Difference between revisions)
Line 4: | Line 4: | ||
<pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = | ||
| mini = | | mini = | ||
+ | |||
+ | | noadd = | ||
| colony = | | colony = | ||
| bane = | | bane = | ||
Line 17: | Line 19: | ||
====Additional cards==== | ====Additional cards==== | ||
+ | : <code>noadd</code> - Non-whitespace will hide the Addtional cards completely | ||
: <code>colony</code> - Non-whitespace indicates {{Card|Colony}} game | : <code>colony</code> - Non-whitespace indicates {{Card|Colony}} game | ||
: <code>bane</code> - If {{Card|Young Witch}} is present, specify the bane card | : <code>bane</code> - If {{Card|Young Witch}} is present, specify the bane card | ||
− | Note that [[Potion]] | + | Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to specified in parameters |
==Examples== | ==Examples== | ||
<pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}}</pre> | <pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}}</pre> | ||
{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}} | {{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}} | ||
+ | |||
===Using the imgwidth parameter=== | ===Using the imgwidth parameter=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|imgwidth=125 |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|imgwidth=125 |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
}} | }} | ||
+ | |||
===Using the mini parameter=== | ===Using the mini parameter=== | ||
<pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}}</pre> | <pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}}</pre> | ||
{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}} | {{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}} | ||
+ | |||
===Mini with additional cards=== | ===Mini with additional cards=== | ||
Line 47: | Line 53: | ||
{{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 | ||
+ | |colony = 1 | ||
+ | |bane = Chapel | ||
+ | }} | ||
+ | |||
+ | |||
+ | ===Using noadd=== | ||
+ | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 | ||
+ | |mini = 1 | ||
+ | |noadd = 1 | ||
+ | |colony = 1 | ||
+ | |bane = Chapel | ||
+ | }}</pre> | ||
+ | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 | ||
+ | |mini = 1 | ||
+ | |noadd = 1 | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
}} | }} |
Revision as of 03:05, 8 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 -
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 |