Template:Kingdom/doc

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
Line 12: Line 12:
 
==Parameters==
 
==Parameters==
 
===Required===
 
===Required===
: <code>card<sub>n</sub></code> - The name of the n<sup>th</sup> Card
+
; card<sub>n</sub> : The name of the n<sup>th</sup> Card
  
 
===Optional===
 
===Optional===
: <code>imgwidth</code> - The width of card images in pixels
+
; imgwidth : The width of card images in pixels
: <code>mini</code> - If not whitespace, no card image is shown
+
; mini : If not whitespace, no card image is shown
  
 
====Additional cards====
 
====Additional cards====
: <code>noadd</code> - Non-whitespace will hide the Addtional cards completely
+
; noadd : Non-whitespace will hide the Addtional cards completely
: <code>colony</code> - Non-whitespace indicates {{Card|Colony}} game
+
; cost : Non-whitespace will cause the costs of card to show up
: <code>bane</code> - If {{Card|Young Witch}} is present, specify the bane card
+
; 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 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