Template:Kingdom/doc: Difference between revisions
Jump to navigation
Jump to search
Created page with "This template creates a table showing a kingdom. ==Usage== <pre>{{Kingdom | imgwidth = | card1 = | cost1 = | card2 = | cost2 = ... | card10 = | cost10 = }}<..." |
No edit summary |
||
Line 1: | Line 1: | ||
This template creates a table showing a kingdom. | This template creates a table showing a kingdom of 10 cards. | ||
==Usage== | ==Usage== | ||
<pre>{{Kingdom | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = | ||
| mini = | |||
| colony = | |||
| card1 | | bane = | ||
| | |||
| | |||
| | |||
... | |||
| | |||
| | |||
}}</pre> | }}</pre> | ||
Line 18: | Line 11: | ||
===Required=== | ===Required=== | ||
: <code>card<sub>n</sub></code> - The name of the n<sup>th</sup> Card | : <code>card<sub>n</sub></code> - The name of the n<sup>th</sup> Card | ||
===Optional=== | ===Optional=== | ||
: <code>imgwidth</code> - The width of image in | : <code>imgwidth</code> - The width of card images in pixels | ||
: <code>mini</code> - If not whitespace, no card image is shown | |||
====Additional cards==== | |||
: <code>colony</code> - Non-whitespace indicates {{Card|Colony}} game | |||
: <code>bane</code> - If {{Card|Young Witch}} is present, specify the bane card | |||
Note that [[Potion]] is automatically added and doesn't need to specified in parameters | |||
==Examples== | ==Examples== | ||
<pre>{{Kingdom | <pre>{{Kingdom||}}</pre> | ||
| | |||
| | |||
}}</pre> | |||
{{Kingdom | {{Kingdom | ||
|card1 = Island | |card1 = Island | ||
Line 88: | Line 56: | ||
===Using imgwidth parameter=== | ===Using imgwidth parameter=== | ||
<pre>{{Kingdom | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 | ||
| | |colony = 1 | ||
|bane = Chapel | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}}</pre> | }}</pre> | ||
{{Kingdom | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 | ||
| | |colony = 1 | ||
|bane = Chapel | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} |
Revision as of 05:12, 8 November 2012
This template creates a table showing a kingdom of 10 cards.
Usage
{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = | mini = | colony = | bane = }}
Parameters
Required
cardn
- The name of the nth Card
Optional
imgwidth
- The width of card images in pixelsmini
- If not whitespace, no card image is shown
Additional cards
colony
- Non-whitespace indicates Colony gamebane
- If Young Witch is present, specify the bane card
Note that Potion is automatically added and doesn't need to specified in parameters
Examples
{{Kingdom||}}[images]
[[]] | [[]] | [[]] | [[]] | [[]] | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
[[File:{{{1}}}.jpg|200px]] | [[File:{{{2}}}.jpg|200px]] | [[File:{{{3}}}.jpg|200px]] | [[File:{{{4}}}.jpg|200px]] | [[File:{{{5}}}.jpg|200px]] | ||||||||||
[[File:{{{6}}}.jpg|200px]] | [[File:{{{7}}}.jpg|200px]] | [[File:{{{8}}}.jpg|200px]] | [[File:{{{9}}}.jpg|200px]] | [[File:{{{10}}}.jpg|200px]] | ||||||||||
[[]] | [[]] | [[]] | [[]] | [[]] |
Using imgwidth parameter
{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |colony = 1 |bane = Chapel }}[images]
Secret Chamber | Shanty Town | Baron | Bridge | Ironworks | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Island | Moneylender | Young Witch | Possession | Peddler | ||||||||||
Landscapes and Additional Cards | ||||||||||||||
Bane pile: Chapel |
Potion | Platinum | Colony | |||||||||||