Template:Kingdom/doc

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
| colony  =
 
| colony  =
 
| bane    =
 
| bane    =
 +
| shelters =
  
 
| show    =
 
| show    =
Line 33: Line 34:
 
; 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
 +
; shelters : Non-whitespace indicates {{Card|Shelters}} game
 
Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to be specified in parameters
 
Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to be specified in parameters
  
Line 45: Line 47:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
}}</pre>
 
}}</pre>
 
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler
 
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler
Line 50: Line 53:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|imgwidth = 150
 
|imgwidth = 150
 
}}
 
}}
Line 57: Line 61:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|imgwidth = 125
 
|imgwidth = 125
 
|noadd = 1
 
|noadd = 1
Line 64: Line 69:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|imgwidth = 125
 
|imgwidth = 125
 
|noadd = 1
 
|noadd = 1
Line 72: Line 78:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|cost = 1
 
|cost = 1
 
}}</pre>
 
}}</pre>
Line 78: Line 85:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|cost = 1
 
|cost = 1
 
}}
 
}}
Line 85: Line 93:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|set = 1
 
|set = 1
 
}}</pre>
 
}}</pre>
Line 91: Line 100:
 
|colony = 1
 
|colony = 1
 
|bane = Chapel
 
|bane = Chapel
 +
|shelters = 1
 
|set = 1
 
|set = 1
 
}}
 
}}

Revision as of 18:56, 10 January 2017

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

Contents

Usage

{{Kingdom|''card1''|''card2''|''card3''|...|''card10''
| title    =
| id       =

| colony   =
| bane     =
| shelters =

| show     =
| imgwidth = 
| cost     =
| set      =
| noadd    =
}}

Parameters

Required

cardn 
The name of the nth Card

Optional

title 
Title (name) of the Kingdom
id 
This must be different for each Kingdom on the page so they does not collapse/expand together. Defaults to title (or 1 if title is not provided)

show 
Non-whitespace will cause the table to be expanded by default
imgwidth 
The width of card images in pixels. Note that imgwidth smaller than 150 is not recommended as it tends to look bad.
cost 
Non-whitespace will cause the costs of card to show up
set 
Non-whitespace will cause the sets icons of card to show up
noadd 
Non-whitespace will hide the additional cards completely

Additional cards

colony 
Non-whitespace indicates ColonyColony.jpg game
bane 
If Young WitchYoung Witch.jpg is present, specify the bane card
shelters 
Non-whitespace indicates SheltersShelters.jpg game

Note that Potion and Ruins are automatically added and doesn't need to be 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 = 150
|colony = 1
|bane = Chapel
|shelters = 1
}}
[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 [[File:Peddler

.jpg|150px]]

Island Young Witch Cultist Possession [[Peddler

]] !!style="border-left-width:0px; width:20px; text-align:right; "|

Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony Ruins Shelters
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg Shelters.jpg

Using noadd

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler
|colony = 1
|bane = Chapel
|shelters = 1
|imgwidth = 125
|noadd = 1
}}
[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 [[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
|shelters = 1
|cost = 1
}}
[images]
$2 Secret Chamber $3 Shanty Town $4 Baron $4 Bridge $4 Ironworks
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Young Witch.jpg Cultist.jpg Possession.jpg [[File:Peddler

.jpg|200px]]

$4 Island $4 Young Witch $5 Cultist $6P Possession $8star [[Peddler

]] !!style="border-left-width:0px; width:20px; text-align:right; "|

Landscapes and Additional Cards
$2 Bane pile:
Chapel
$4 Potion $9 Platinum $11 Colony $0 Ruins $1 Shelters
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg Shelters.jpg

Using set

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler
|colony = 1
|bane = Chapel
|shelters = 1
|set = 1
}}
[images]
Secret Chamber Intrigue old icon.png Shanty Town Intrigue icon.png Baron Intrigue icon.png Bridge Intrigue icon.png Ironworks Intrigue icon.png
Secret Chamber.jpg Shanty Town.jpg Baron.jpg Bridge.jpg Ironworks.jpg
Island.jpg Young Witch.jpg Cultist.jpg Possession.jpg [[File:Peddler

.jpg|200px]]

Island Seaside icon.png Young Witch Cornucopia & Guilds icon.png Cultist Dark Ages icon.png Possession Alchemy icon.png [[Peddler

]] !!style="border-left-width:0px; width:20px; text-align:right; "|Prosperity icon.png

Landscapes and Additional Cards
Bane pile:
Chapel
Dominion icon.png Potion Alchemy icon.png Platinum Prosperity icon.png Colony Prosperity icon.png Ruins Dark Ages icon.png Shelters Dark Ages icon.png
Chapel.jpg Potion.jpg Platinum.jpg Colony.jpg Abandoned Mine.jpg Shelters.jpg
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox