Template:Kingdom/doc: Difference between revisions
Jump to navigation
Jump to search
m →Examples: without the final pipe it messed up the internal link to peddler |
Update for Ally and Prophecy. |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
==Usage== | ==Usage== | ||
<pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | ||
| | | appr_army = | ||
| | | bane = | ||
| ferryman = | |||
| dboon1 = | |||
| dboon2 = | |||
| dboon3 = | |||
| | | event1 = | ||
| | | event2 = | ||
| | | landmark1 = | ||
| landmark2 = | |||
| project1 = | |||
| project2 = | |||
| way1 = | |||
| way2 = | |||
| | | ally = | ||
| imgwidth = | | prophecy = | ||
| cost | |||
| set | | colony = | ||
| noadd | | shelters = | ||
| imgwidth = | |||
| cost = | |||
| set = | |||
| noadd = | |||
| title = | |||
| id = | |||
}}</pre> | }}</pre> | ||
<!-- "show" (for auto-expanding the table) isn't working. as of this edit, there is no input for it in the main Template: Kingdom | |||
| show = | |||
--> | |||
==Parameters== | ==Parameters== | ||
Line 23: | Line 45: | ||
===Optional=== | ===Optional=== | ||
; title : Title (name) of the Kingdom | ; title : Title (name) of the Kingdom | ||
; id : This must be different for each Kingdom on the page so they | ; id : This must be different for each Kingdom on the page so they don't collapse/expand together. Defaults to <code>title</code> (or 1 if <code>title</code> is not provided) | ||
---- | ---- | ||
; show : Non-whitespace will cause the table to be expanded by default | <!-- show isn't working. as of this edit, there is no input for it in the main Template: Kingdom | ||
; imgwidth : The width of card images in pixels. Note that imgwidth smaller than | ; 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 160 is not recommended, as it tends to look bad. | |||
; cost : Non-whitespace will cause the costs of card to show up | ; 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 | ; set : Non-whitespace will cause the sets icons of card to show up | ||
Line 32: | Line 55: | ||
====Additional cards==== | ====Additional cards==== | ||
; appr_army : If {{Prophecy|Approaching Army}} is present, specify the additional [[Attack]] pile. | |||
; bane : If {{Card|Young Witch}} is present, specify the bane pile. | |||
; ferryman : If {{Card|Ferryman}} is present, specify the pile to gain from when gaining Ferrymen. | |||
; dboon1, 2, 3 : Specify which 3 [[Boons]] should be set aside for {{Card|Druid}}. | |||
Note that card for {{way|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. | |||
; ally : Specify which [[Ally]] to use when the kingdom has [[Liason]] cards. | |||
; prophecy : Specify which [[Prophecy]] to use when the kingdom has [[Omen]] cards. | |||
; colony : Non-whitespace indicates {{Card|Colony}} game | ; colony : Non-whitespace indicates {{Card|Colony}} game | ||
; shelters : Non-whitespace indicates [[Shelters]] game | ; shelters : Non-whitespace indicates [[Shelters]] game | ||
Note that {{Card|Potion}} and [[ | |||
Note that {{Card|Potion}}, [[Ruins]], [[Boons]], and [[Hexes]] are automatically added and don't need to be specified in parameters. | |||
==Examples== | ==Examples== | ||
<pre>{{Kingdom| | <pre>{{Kingdom|Underling|Druid|Fool|Sacred Grove|Tracker|Caravan Guard|Guide|Haunted Woods|Hireling|Mountain Shrine| | ||
{{Kingdom| | |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 | |||
|ally = Architects' Guild | |||
|prophecy = Approaching Army | |||
|imgwidth = 160 | |||
|title = Lost in the Woods}}</pre> | |||
{{Kingdom|Underling|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 | |||
|ally = Architects' Guild | |||
|prophecy = Approaching Army | |||
|imgwidth = 160 | |||
|title = Lost in the Woods | |||
}} | |||
===Using the imgwidth parameter=== | ===Using the imgwidth parameter=== | ||
<pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler| | ||
| | |bane = Chapel | ||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|imgwidth = 160 | |||
}}</pre> | }}</pre> | ||
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler| | ||
| | |bane = Chapel | ||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|imgwidth = | |imgwidth = 160 | ||
|id = 1 | |||
}} | }} | ||
===Using noadd=== | ===Using noadd=== | ||
<pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Moneylender|Young Witch|Possession|Peddler| | ||
|bane = Chapel | |||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|imgwidth = | |imgwidth = 160 | ||
|noadd = 1 | |noadd = 1 | ||
}}</pre> | }}</pre> | ||
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Moneylender|Young Witch|Possession|Peddler| | ||
|id = 2 | |id = 2 | ||
|bane = Chapel | |||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|imgwidth = | |imgwidth = 160 | ||
|noadd = 1 | |noadd = 1 | ||
}} | }} | ||
===Using cost=== | ===Using cost=== | ||
<pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler| | ||
|bane = Chapel | |||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|cost = 1 | |cost = 1 | ||
}}</pre> | }}</pre> | ||
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler| | ||
| | |bane = Chapel | ||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|cost = 1 | |cost = 1 | ||
|id = 3 | |||
}} | }} | ||
===Using set=== | ===Using set=== | ||
<pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler| | ||
|bane = Chapel | |||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|set = 1 | |set = 1 | ||
}}</pre> | }}</pre> | ||
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge| | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Overlord|Island|Young Witch|Cultist|Possession|Peddler| | ||
| | |bane = Chapel | ||
|event1 = Wedding | |||
|landmark1 = Basilica | |||
|colony = 1 | |colony = 1 | ||
|shelters = 1 | |shelters = 1 | ||
|set = 1 | |set = 1 | ||
|id = 4 | |||
}} | }} |
Latest revision as of 15:42, 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 = | ally = | prophecy = | 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 iftitle
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.
- ally
- Specify which Ally to use when the kingdom has Liason cards.
- prophecy
- Specify which Prophecy to use when the kingdom has Omen cards.
Note that Potion, Ruins, Boons, and Hexes are automatically added and don't need to be specified in parameters.
Examples
{{Kingdom|Underling|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 |ally = Architects' Guild |prophecy = Approaching Army |imgwidth = 160 |title = Lost in the Woods}}
Lost in the Woods [images] | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Underling | 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 | Architects' Guild | ||||||||||||||||||||||||
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]
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 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 | ||||||||||||||||