Difference between revisions of "Template:TrinketInfo"

From SpiralKnights

Jump to: navigation, search
m (Switch to {{documentation}})
m (cat)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{SKWindow
 
{{SKWindow
 
 
| width = 300px
 
| width = 300px
 
| align = right
 
| align = right
 
| margin = 0px 0px 20px 20px
 
| margin = 0px 0px 20px 20px
| icon = Trinket_Icon.png
+
| icon = Equipment-{{{name|Heart Pendant}}}_icon.png
| title = {{PAGENAME}}
+
| title = {{{name|Trinket}}}
 
| stars = {{{stars|0}}}
 
| stars = {{{stars|0}}}
 
| body =
 
| body =
 
+
{{SKWindow/NewRow}}
{{#if: {{{defensetype1<includeonly>|</includeonly>}}} |
+
{{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}}
{{SKNewRow}}
+
{{#switch:{{{stats|no}}}
{{SKCell|{{{defensetype1<noinclude>|Normal</noinclude>}}}:|||||50%}}
+
|yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png|center|Stats]]<br/>
{{SKCell|{{{defensestat1<noinclude>|0</noinclude>}}}|right||||50%}}
+
|no=*This trinket does not provide any <br/>[[damage]] defenses or [[status]] resistances.
 
}}
 
}}
 
+
|2=left
{{#if: {{{defensetype2<includeonly>|</includeonly>}}} |
+
{{SKNewRow}}
+
{{SKCell|{{{defensetype2<noinclude>|Piercing</noinclude>}}}:}}
+
{{SKCell|{{{defensestat2<noinclude>|0</noinclude>}}}|right}}
+
 
}}
 
}}
 
+
{{SKWindow/NewRow}}
{{#if: {{{abilities<includeonly>|</includeonly>}}} |
+
{{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}}
{{SKNewRow}}
+
{{#switch:{{{abilities|no}}}
{{SKCell|'''Abilities'''
+
|yes=[[Image:Equipment-{{{name|Trinket}}}_Abilities.png|center|Abilities]]<br/>
{{{abilities<noinclude>|
+
|no=*This trinket does not provide any special [[abilities]].
* Ability 1
+
* Ability 2
+
</noinclude>}}}|||2}}
+
 
}}
 
}}
 
+
|2=left
 
}}
 
}}
<noinclude>{{documentation}}</noinclude>
+
}}<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

Equipment-Heart Pendant icon.png
Trinket ☆☆☆☆☆
Defenses:
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.

  • This trinket does not provide any
    damage defenses or status resistances.
Abilities:
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.

  • This trinket does not provide any special abilities.
The TrinketInfo is a {{{stars}}}-star trinket.
[edit] [purge] 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)
Personal tools