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 61: | Line 35: | ||
; 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]] game | ; shelters : Non-whitespace indicates [[Shelters]] game | ||
− | Note that {{Card|Potion}} | + | Note that {{Card|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| | + | |