Template:Kingdom/doc: Difference between revisions

From DominionStrategy Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 22: Line 22:


==Examples==
==Examples==
<pre>{{Kingdom||}}</pre>
<pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}}</pre>
{{Kingdom
{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}}
|card1 = Island
|cost1 = 2


|card2 = Secret Chamber
===Using the imgwidth parameter===
|cost2 = 2
<pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125
 
|colony = 1
|card3 = Shanty Town
|bane = Chapel
|cost3 = 3
}}</pre>
 
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125
|card4 = Baron
|colony = 1
|cost4 = 4
|bane = Chapel
 
}}
|card5 = Bridge
|cost5 = 4
 
|card6 = Ironworks
|cost6 = 4
 
|card7 = Moneylender
|cost7 = 4
 
|card8 = Remake
|cost8 = 4
 
|card9 = Possession
|cost9 = 6


|card10 = Peddler
===Using the mini parameter===
|cost10 = 8*
<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}}


===Using imgwidth parameter===
===Mini with additional cards===
<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
|colony = 1
|colony = 1
|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
|colony = 1
|colony = 1
|bane = Chapel
|bane = Chapel
}}
}}

Revision as of 05:23, 8 November 2012

This template creates a table showing a kingdom of 10 cards.

Usage

{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = 
| mini   = 
| 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

colony - Non-whitespace indicates Colony game
bane - If Young Witch is present, specify the bane card

Note that Potion is 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}}
[images]
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|Moneylender|Young Witch|Possession|Peddler|imgwidth=125
|colony = 1
|bane = Chapel
}}
[images]
Secret Chamber Shanty Town Baron Bridge Ironworks
Island Moneylender Young Witch Possession Peddler
Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony

Using the mini parameter

{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}}
[images]
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
}}
[images]
Secret Chamber Shanty Town Baron Bridge Ironworks
Island Moneylender Young Witch Possession Peddler
Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony