Difference between revisions of "Template:TrinketInfo"
From SpiralKnights
m (cat) |
|||
(15 intermediate revisions by 5 users not shown) | |||
Line 3: | Line 3: | ||
| align = right | | align = right | ||
| margin = 0px 0px 20px 20px | | margin = 0px 0px 20px 20px | ||
− | | icon = | + | | icon = Equipment-{{{name|Heart Pendant}}}_icon.png |
| title = {{{name|Trinket}}} | | title = {{{name|Trinket}}} | ||
| stars = {{{stars|0}}} | | stars = {{{stars|0}}} | ||
| body = | | body = | ||
− | {{ | + | {{SKWindow/NewRow}} |
− | {{ | + | {{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/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}} |
− | </noinclude> | + | {{#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]] | ||
+ | {{#switch: {{{promotional}}} | ||
+ | | yes = [[Category:Promotional items]] | ||
+ | | #default = | ||
+ | }} | ||
+ | </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. |