Editing Template:Kingdom/doc
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
− | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | + | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10''|imgwidth = |
− | | | + | | mini = |
− | | | + | | colony = |
− | + | | bane = | |
− | | colony | + | |
− | | bane | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}}</pre> | }}</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Parameters== | ==Parameters== | ||
===Required=== | ===Required=== | ||
− | + | : <code>card<sub>n</sub></code> - The name of the n<sup>th</sup> Card | |
===Optional=== | ===Optional=== | ||
− | + | : <code>imgwidth</code> - The width of card images in pixels | |
− | + | : <code>mini</code> - If not whitespace, no card image is shown | |
− | - | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
====Additional cards==== | ====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 | |
− | Note that | + | |
− | + | ||
− | + | ||
− | + | ||
==Examples== | ==Examples== | ||
− | <pre>{{Kingdom| | + | <pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}}</pre> |
− | + | {{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{Kingdom| | + | |
− | + | ||
===Using the imgwidth parameter=== | ===Using the imgwidth parameter=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |
− | |imgwidth = | + | |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
− | |||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |
− | + | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
− | |||
− | |||
}} | }} | ||
− | ===Using | + | ===Using the mini parameter=== |
− | <pre>{{Kingdom| | + | <pre>{{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}}</pre> |
− | + | {{Kingdom|Chapel|Masquerade|Mining Village|Contraband|Mountebank|Saboteur|Treasury|Vault|Adventurer|King's Court|mini=1}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }}</pre> | + | |
− | {{Kingdom| | + | |
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
− | | | + | |
− | | | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | }} | + | |
− | === | + | ===Mini with additional cards=== |
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |
+ | |mini = 1 | ||
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
− | |||
− | |||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler|imgwidth=125 |
− | | | + | |mini = 1 |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
− | |||
− | |||
}} | }} |