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 3: | Line 3: | ||
==Usage== | ==Usage== | ||
<pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | <pre>{{Kingdom|''card1''|''card2''|''card3''|...|''card10'' | ||
− | | title | + | | title = |
− | | id | + | | id = |
− | | colony | + | | colony = |
− | | bane | + | | bane = |
− | | shelters | + | | shelters = |
− | | | + | | show = |
− | + | | imgwidth = | |
− | + | | cost = | |
− | + | | set = | |
− | + | | noadd = | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | imgwidth | + | |
− | | cost | + | |
− | | set | + | |
− | | noadd | + | |
}}</pre> | }}</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Parameters== | ==Parameters== | ||
Line 48: | Line 23: | ||
===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 does not 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 : 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. |
− | ; imgwidth : The width of card images in pixels. Note that imgwidth smaller than 150 is not recommended | + | |
; 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 60: | Line 34: | ||
; colony : Non-whitespace indicates {{Card|Colony}} game | ; colony : Non-whitespace indicates {{Card|Colony}} game | ||
; bane : If {{Card|Young Witch}} is present, specify the bane card | ; bane : If {{Card|Young Witch}} is present, specify the bane card | ||
− | ; shelters : Non-whitespace indicates | + | ; shelters : Non-whitespace indicates {{Card|Shelters}} game |
− | + | Note that [[Potion]] and [[Ruins]] are automatically added and doesn't need to be specified in parameters | |
− | + | ||
− | + | ||
− | + | ||
==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|id = 0}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | {{Kingdom| | + | |
===Using the imgwidth parameter=== | ===Using the imgwidth parameter=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
|imgwidth = 150 | |imgwidth = 150 | ||
|colony = 1 | |colony = 1 | ||
Line 84: | Line 49: | ||
|shelters = 1 | |shelters = 1 | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
|id = 1 | |id = 1 | ||
|colony = 1 | |colony = 1 | ||
Line 93: | Line 58: | ||
===Using noadd=== | ===Using noadd=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
Line 100: | Line 65: | ||
|noadd = 1 | |noadd = 1 | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Moneylender|Young Witch|Possession|Peddler |
|id = 2 | |id = 2 | ||
|colony = 1 | |colony = 1 | ||
Line 110: | Line 75: | ||
===Using cost=== | ===Using cost=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
Line 116: | Line 81: | ||
|cost = 1 | |cost = 1 | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
|id = 3 | |id = 3 | ||
|colony = 1 | |colony = 1 | ||
Line 125: | Line 90: | ||
===Using set=== | ===Using set=== | ||
− | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | <pre>{{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
|colony = 1 | |colony = 1 | ||
|bane = Chapel | |bane = Chapel | ||
Line 131: | Line 96: | ||
|set = 1 | |set = 1 | ||
}}</pre> | }}</pre> | ||
− | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler | + | {{Kingdom|Secret Chamber|Shanty Town|Baron|Bridge|Ironworks|Island|Young Witch|Cultist|Possession|Peddler |
|id = 4 | |id = 4 | ||
|colony = 1 | |colony = 1 |