Template:Kingdom/doc

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
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]] is 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==
 
<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|Moneylender|Young Witch|Possession|Peddler|imgwidth=125
+
<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|Moneylender|Young Witch|Possession|Peddler|imgwidth=125
+
{{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 ColonyColony.jpg game
bane - If Young WitchYoung Witch.jpg 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}}
[images]
Chapel Masquerade Mining Village Contraband Mountebank
Chapel.jpg Masquerade.jpg Mining Village.jpg Contraband.jpg Mountebank.jpg
Saboteur.jpg Treasury.jpg Vault.jpg Adventurer.jpg King's Court.jpg
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
}}
[images]
Secret Chamber Shanty Town Baron Bridge Ironworks
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Young Witch.jpg Cultist.jpg Possession.jpg Peddler.jpg
Island Young Witch Cultist Possession Peddler
Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony Ruins
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg


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


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
}}
[images]
Secret Chamber Shanty Town Baron Bridge Ironworks
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Moneylender.jpg Young Witch.jpg Possession.jpg Peddler.jpg
Island Moneylender Young Witch Possession Peddler
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox