Template:Kingdom/doc: Difference between revisions

From DominionStrategy Wiki
Jump to navigation Jump to search
Flynd (talk | contribs)
Add appr_army and ferryman. Remove artifacts. Order arguments to match how recommended sets are written. More advanced examples.
No edit summary
Line 60: Line 60:


; events, landmarks, projects, ways : Specify which ones are in the kingdom, keeping in mind the designer's recommendation of a maximum of two total.
; events, landmarks, projects, ways : Specify which ones are in the kingdom, keeping in mind the designer's recommendation of a maximum of two total.
Note that [[Prophecy|Prophecies]] are currently not supported, but can be added as a way instead.
Note that [[Prophecy|Prophecies]] are supported as "prophecy=Name of Prophecy".


; colony : Non-whitespace indicates {{Card|Colony}} game
; colony : Non-whitespace indicates {{Card|Colony}} game

Revision as of 09:46, 16 September 2024

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

Usage

{{Kingdom|''card1''|''card2''|''card3''|...|''card10''
| appr_army =
| bane      =
| ferryman  =
| dboon1    =
| dboon2    =
| dboon3    =

| event1    =
| event2    =
| landmark1 =
| landmark2 =
| project1  =
| project2  =
| way1      =
| way2      =

| colony    =
| shelters  =

| imgwidth  = 
| cost      =
| set       =
| noadd     =

| title     =
| id        =
}}

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 don't collapse/expand together. Defaults to title (or 1 if title is not provided)

imgwidth
The width of card images in pixels. Note that imgwidth smaller than 160 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

appr_army
If Approaching Army is present, specify the additional Attack pile.
bane
If Young Witch is present, specify the bane pile.
ferryman
If Ferryman is present, specify the pile to gain from when gaining Ferrymen.
dboon1, 2, 3
Specify which 3 Boons should be set aside for Druid.

Note that card for Way of the Mouse is currently not supported.

events, landmarks, projects, ways
Specify which ones are in the kingdom, keeping in mind the designer's recommendation of a maximum of two total.

Note that Prophecies are supported as "prophecy=Name of Prophecy".

colony
Non-whitespace indicates Colony game
shelters
Non-whitespace indicates Shelters game

Note that Potion, Ruins, Boons, and Hexes are automatically added and don't need to be specified in parameters.

Examples

{{Kingdom|Blessed Village|Druid|Fool|Sacred Grove|Tracker|Caravan Guard|Guide|Haunted Woods|Hireling|Mountain Shrine|
|appr_army = Highwayman
|dboon1 = The Field's Gift
|dboon2 = The Sea's Gift
|dboon3 = The Sky's Gift
|event1 = Pilgrimage
|way1 = Way of the Ox
|way2 = Approaching Army
|imgwidth = 160
|title = Lost in the Woods}}
Lost in the Woods [images]
Blessed Village Druid Fool Sacred Grove Tracker
Caravan Guard Guide Haunted Woods Hireling Mountain Shrine
Landscapes and Additional Cards
Pile for Approaching Army
Highwayman
Boons Pilgrimage Way of the Ox Approaching Army
Boons for Druid
The Field's Gift The Sea's Gift The Sky's Gift


Using the imgwidth parameter

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler|
|bane = Chapel
|event1 = Wedding
|landmark1 = Basilica
|colony = 1
|shelters = 1
|imgwidth = 160
}}
[images]
Secret Chamber Shanty Town Baron Bridge Overlord
Island Young Witch Cultist Possession Peddler
Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony Ruins Shelters Wedding Basilica

Using noadd

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Moneylender|Young Witch|Possession|Peddler|
|bane = Chapel
|event1 = Wedding
|landmark1 = Basilica
|colony = 1
|shelters = 1
|imgwidth = 160
|noadd = 1
}}
[images]
Secret Chamber Shanty Town Baron Bridge Overlord
Island Moneylender Young Witch Possession Peddler

Using cost

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler|
|bane = Chapel
|event1 = Wedding
|landmark1 = Basilica
|colony = 1
|shelters = 1
|cost = 1
}}
[images]
$2 Secret Chamber $3 Shanty Town $4 Baron $4 Bridge 8D Overlord
$4 Island $4 Young Witch $5 Cultist $6P Possession $8* Peddler
Landscapes and Additional Cards
$2 Bane pile:
Chapel
$4 Potion $9 Platinum $11 Colony $0 Ruins $1 Shelters $43D Wedding Basilica

Using set

{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler|
|bane = Chapel
|event1 = Wedding
|landmark1 = Basilica
|colony = 1
|shelters = 1
|set = 1
}}
[images]
Secret Chamber Shanty Town Baron Bridge Overlord
Island Young Witch Cultist Possession Peddler
Landscapes and Additional Cards
Bane pile:
Chapel
Potion Platinum Colony Ruins Shelters Wedding Basilica