Difference between revisions of "Template:TrinketInfo"
From SpiralKnights
m (switches for abilities vs. stats) |
m (positioning) |
||
Line 10: | Line 10: | ||
{{SKWindow/Cell|'''[[Defense]]s''': | {{SKWindow/Cell|'''[[Defense]]s''': | ||
{{#switch:{{{stats|no}}} | {{#switch:{{{stats|no}}} | ||
− | |yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png]] | + | |yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png|center|Stats]] |
|no=*This trinket does not provide any <br/>[[damage|type defense]]s or [[status]] resistances. | |no=*This trinket does not provide any <br/>[[damage|type defense]]s or [[status]] resistances. | ||
}} | }} | ||
+ | |2=left | ||
}} | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
{{SKWindow/Cell|'''[[Abilities]]:''' | {{SKWindow/Cell|'''[[Abilities]]:''' | ||
{{#switch:{{{abilities|no}}} | {{#switch:{{{abilities|no}}} | ||
− | |yes=[[Image:Equipment-{{{name|Trinket}}}_Abilities.png]] | + | |yes=[[Image:Equipment-{{{name|Trinket}}}_Abilities.png|center|Abilities]] |
|no=*This trinket does not provide any special [[abilities]]. | |no=*This trinket does not provide any special [[abilities]]. | ||
}} | }} | ||
+ | |2=left | ||
}} | }} | ||
}}<includeonly>[[Category:Gear]][[Category:Trinkets]] | }}<includeonly>[[Category:Gear]][[Category:Trinkets]] |
Revision as of 06:37, 13 January 2015
| |||
|
[edit] [ ] Template documentation
Use the template to display quick stats of a trinket on its page.
Usage
Example:
{{TrinketInfo | name = {{PAGENAME}} | stars = | abilities = }}
Optional variables:
| promotional = yes (optional)
The above documentation is transcluded from Template:TrinketInfo/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |