Difference between revisions of "Template:TrinketInfo"
From SpiralKnights
m (Fixed icon) |
m (cat) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| body = | | body = | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|[[Image:Equipment-{{{name|Trinket}}}_Stats.png]]| | + | {{SKWindow/Cell|'''[[Defense]]s''':[[File:Icon-notice.png|20px|right|Defense and Status resistance bars tell you different things. The number of segments don't represent the same low, medium, high, etc. values. See the Defense and Abilities pages for details.]]{{clearright}} |
+ | {{#switch:{{{stats|no}}} | ||
+ | |yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png|center|Stats]]<br/> | ||
+ | |no=*This trinket does not provide any <br/>[[damage]] defenses or [[status]] resistances. | ||
+ | }} | ||
+ | |2=left | ||
+ | }} | ||
{{SKWindow/NewRow}} | {{SKWindow/NewRow}} | ||
− | {{SKWindow/Cell|'''Abilities''' | + | {{SKWindow/Cell|'''[[Abilities]]:'''[[File:Icon-notice.png|20px|right|Boosts and Penalties are both considered "abilities" in general. Some items have additional health as a special "ability," giving more health pips than most items. Many items don't have any special abilities. See the Abilities page for details.]]{{clearright}} |
− | {{{abilities| | + | {{#switch:{{{abilities|no}}} |
+ | |yes=[[Image:Equipment-{{{name|Trinket}}}_Abilities.png|center|Abilities]]<br/> | ||
+ | |no=*This trinket does not provide any special [[abilities]]. | ||
+ | }} | ||
+ | |2=left | ||
}} | }} | ||
− | + | }}<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> | + | </includeonly>The '''{{PAGENAME}}''' is a {{{stars}}}-star [[trinket]].<noinclude> |
+ | {{documentation}}[[Category:Infobox templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 20:40, 12 September 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. |