Difference between revisions of "Template:TrinketInfo"
From SpiralKnights
m (switches for abilities vs. stats) |
|||
Line 8: | Line 8: | ||
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|[[Image:Equipment-{{{name|Trinket}}}_Stats.png]]| | + | {{SKWindow/Cell|'''[[Defense]]s''': |
+ | {{#switch:{{{stats|no}}} | ||
+ | |yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png]] | ||
+ | |no=*This trinket does not provide any <br/>[[damage|type defense]]s or [[status]] resistances. | ||
+ | }} | ||
+ | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|'''Abilities''' | + | {{SKWindow/Cell|'''[[Abilities]]:''' |
− | {{{abilities| | + | {{#switch:{{{abilities|no}}} |
+ | |yes=[[Image:Equipment-{{{name|Trinket}}}_Abilities.png]] | ||
+ | |no=*This trinket does not provide any special [[abilities]]. | ||
+ | }} | ||
}} | }} | ||
− | + | }}<includeonly>[[Category:Gear]][[Category:Trinkets]] | |
− | <includeonly>[[Category:Gear]][[Category:Trinkets]] | + | |
{{#switch: {{{promotional}}} | {{#switch: {{{promotional}}} | ||
| yes = [[Category:Promotional items]] | | yes = [[Category:Promotional items]] | ||
| #default = | | #default = | ||
}} | }} | ||
− | </includeonly>The '''{{PAGENAME}}''' is a {{{stars}}}-star [[trinket]]. | + | </includeonly>The '''{{PAGENAME}}''' is a {{{stars}}}-star [[trinket]].<noinclude>{{documentation}}</noinclude> |
Revision as of 06:35, 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. |