Latest revision |
Your text |
Line 1: |
Line 1: |
− | This template creates a table showing a kingdom of 10 cards. | + | This template creates a table showing a kingdom. |
| | | |
| ==Usage== | | ==Usage== |
− | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | + | <pre>{{Kingdom |
− | | title =
| + | | imgwidth = |
− | | id = | + | |
| | | |
− | | colony = | + | | card1 = |
− | | bane = | + | | cost1 = |
− | | shelters =
| + | |
| | | |
− | | event1 = | + | | card2 = |
− | | event2 = | + | | cost2 = |
− | | project1 = | + | ... |
− | | project2 = | + | | card10 = |
| + | | cost10 = |
| + | }}</pre> |
| | | |
− | <!-- Delete the artifacts you don't need...
| + | ==Parameters== |
− | | artifact1 = Flag <!-- goes with Flag Bearer -->
| + | ===Required=== |
− | | artifact2 = Horn <!-- goes with Border Guard -->
| + | : <code>card<sub>n</sub></code> - The name of the n<sup>th</sup> Card |
− | | artifact3 = Key <!-- goes with Treasurer -->
| + | : <code>cost<sub>n</sub></code> - The cost of the n<sup>th</sup> Card |
− | | artifact4 = Lantern <!-- goes with Border Guard -->
| + | |
− | | artifact5 = Treasure Chest <!-- goes with Swashbuckler -->
| + | |
− | ...then delete both parts of this comment. -->
| + | |
| | | |
− | | landmark1 =
| + | ===Optional=== |
− | | landmark2 =
| + | : <code>imgwidth</code> - The width of image in pixels |
− | | way1 =
| + | |
− | | way2 =
| + | |
− | | dboon1 =
| + | |
− | | dboon2 =
| + | |
− | | dboon3 =
| + | |
| | | |
− | | imgwidth =
| + | ==Examples== |
− | | cost =
| + | <pre>{{Kingdom |
− | | set =
| + | |card1 = Island |
− | | noadd =
| + | |cost1 = 2 |
− | }}</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 = | + | |card2 = Secret Chamber |
| + | |cost2 = 2 |
| | | |
− | -->
| + | |card3 = Shanty Town |
| + | |cost3 = 3 |
| | | |
− | ==Parameters== | + | |card4 = Baron |
− | ===Required=== | + | |cost4 = 4 |
− | ; card<sub>n</sub> : The name of the n<sup>th</sup> Card
| + | |
| | | |
− | ===Optional=== | + | |card5 = Bridge |
− | ; title : Title (name) of the Kingdom
| + | |cost5 = 4 |
− | ; 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 isn't working. as of this edit, there is no input for it in the main Template: Kingdom
| + | |
− | ; 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==== | + | |card6 = Ironworks |
− | ; colony : Non-whitespace indicates {{Card|Colony}} game
| + | |cost6 = 4 |
− | ; bane : If {{Card|Young Witch}} is present, specify the bane card
| + | |
− | ; shelters : Non-whitespace indicates [[Shelters]] game
| + | |
− | Note that {{Card|Potion}}, [[Ruins]], [[Boons]], [[Hexes]], and [[Artifacts]] [hopefully soon] are automatically added and don't need to be specified in parameters.
| + | |
| | | |
− | ; events, projects, landmarks, ways : Specify which ones are in the kingdom, keeping in mind the designer's recommendation of a maximum of two total.
| + | |card7 = Moneylender |
− | ; dboon1, 2, 3 : Specify which 3 Boons should be set aside for [[Druid]].
| + | |cost7 = 4 |
| | | |
− | ==Examples==
| + | |card8 = Remake |
− | <pre>{{Kingdom|Blessed Village|Druid|Fool|Sacred Grove|Tracker|Caravan Guard|Guide|Haunted Woods|Hireling|Ranger
| + | |cost8 = 4 |
− | |dboon1 = The Sky's Gift
| + | |
− | |dboon2 = The Field's Gift | + | |
− | |dboon3 = The Sea's Gift
| + | |
− | |event1 = Pilgrimage
| + | |
− | |imgwidth = 150
| + | |
− | |title = Lost in the Woods}}</pre>
| + | |
− | {{Kingdom|Blessed Village|Druid|Fool|Sacred Grove|Tracker|Caravan Guard|Guide|Haunted Woods|Hireling|Ranger|dboon1 = The Sky's Gift|dboon2 = The Field's Gift|dboon3 = The Sea's Gift|event1 = Pilgrimage|imgwidth = 150|title = Lost in the Woods}}
| + | |
| | | |
| + | |card9 = Possession |
| + | |cost9 = 6 |
| | | |
− | ===Using the imgwidth parameter=== | + | |card10 = Peddler |
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
| + | |cost10 = 8* |
− | |imgwidth = 150
| + | |
− | |colony = 1
| + | |
− | |bane = Chapel
| + | |
− | |shelters = 1 | + | |
| }}</pre> | | }}</pre> |
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler| | + | {{Kingdom |
− | |id = 1 | + | |card1 = Island |
− | |colony = 1 | + | |cost1 = 2 |
− | |bane = Chapel | + | |
− | |shelters = 1 | + | |card2 = Secret Chamber |
− | |imgwidth = 150 | + | |cost2 = 2 |
| + | |
| + | |card3 = Shanty Town |
| + | |cost3 = 3 |
| + | |
| + | |card4 = Baron |
| + | |cost4 = 4 |
| + | |
| + | |card5 = Bridge |
| + | |cost5 = 4 |
| + | |
| + | |card6 = Ironworks |
| + | |cost6 = 4 |
| + | |
| + | |card7 = Moneylender |
| + | |cost7 = 4 |
| + | |
| + | |card8 = Remake |
| + | |cost8 = 4 |
| + | |
| + | |card9 = Possession |
| + | |cost9 = 6 |
| + | |
| + | |card10 = Peddler |
| + | |cost10 = 8* |
| }} | | }} |
| | | |
− | ===Using noadd=== | + | ===Using imgwidth parameter=== |
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler| | + | <pre>{{Kingdom |
− | |colony = 1
| + | |
− | |bane = Chapel
| + | |
− | |shelters = 1
| + | |
| |imgwidth = 125 | | |imgwidth = 125 |
− | |noadd = 1 | + | |
| + | |card1 = Island |
| + | |cost1 = 2 |
| + | |
| + | |card2 = Secret Chamber |
| + | |cost2 = 2 |
| + | |
| + | |card3 = Shanty Town |
| + | |cost3 = 3 |
| + | |
| + | |card4 = Baron |
| + | |cost4 = 4 |
| + | |
| + | |card5 = Bridge |
| + | |cost5 = 4 |
| + | |
| + | |card6 = Ironworks |
| + | |cost6 = 4 |
| + | |
| + | |card7 = Moneylender |
| + | |cost7 = 4 |
| + | |
| + | |card8 = Remake |
| + | |cost8 = 4 |
| + | |
| + | |card9 = Possession |
| + | |cost9 = 6P |
| + | |
| + | |card10 = Peddler |
| + | |cost10 = 8* |
| }}</pre> | | }}</pre> |
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler| | + | {{Kingdom |
− | |id = 2
| + | |
− | |colony = 1
| + | |
− | |bane = Chapel
| + | |
− | |shelters = 1
| + | |
| |imgwidth = 125 | | |imgwidth = 125 |
− | |noadd = 1
| |
− | }}
| |
| | | |
− | ===Using cost===
| + | |card1 = Island |
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
| + | |cost1 = 2 |
− | |colony = 1
| + | |
− | |bane = Chapel
| + | |
− | |shelters = 1
| + | |
− | |cost = 1
| + | |
− | }}</pre>
| + | |
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
| + | |
− | |id = 3 | + | |
− | |colony = 1
| + | |
− | |bane = Chapel
| + | |
− | |shelters = 1
| + | |
− | |cost = 1
| + | |
− | }}
| + | |
| | | |
− | ===Using set=== | + | |card2 = Secret Chamber |
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
| + | |cost2 = 2 |
− | |colony = 1 | + | |
− | |bane = Chapel | + | |card3 = Shanty Town |
− | |shelters = 1 | + | |cost3 = 3 |
− | |set = 1 | + | |
− | }}</pre>
| + | |card4 = Baron |
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler|
| + | |cost4 = 4 |
− | |id = 4 | + | |
− | |colony = 1 | + | |card5 = Bridge |
− | |bane = Chapel | + | |cost5 = 4 |
− | |shelters = 1 | + | |
− | |set = 1 | + | |card6 = Ironworks |
| + | |cost6 = 4 |
| + | |
| + | |card7 = Moneylender |
| + | |cost7 = 4 |
| + | |
| + | |card8 = Remake |
| + | |cost8 = 4 |
| + | |
| + | |card9 = Possession |
| + | |cost9 = 6P |
| + | |
| + | |card10 = Peddler |
| + | |cost10 = 8* |
| }} | | }} |