Difference between revisions of "Template:TrinketInfo"

From SpiralKnights

Jump to: navigation, search
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 = Trinket_Icon.png
+
| icon = Equipment-{{{name|Heart Pendant}}}_icon.png
 
| title = {{{name|Trinket}}}
 
| title = {{{name|Trinket}}}
 
| stars = {{{stars|0}}}
 
| stars = {{{stars|0}}}
 
| body =
 
| body =
{{SKNewRow}}
+
{{SKWindow/NewRow}}
{{SKCell|'''Defense Power'''|center||2}}
+
{{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}}
{{SKCell|'''Status Resist'''|center||2}}
+
{{#switch:{{{stats|no}}}
{{SKNewRow}}
+
|yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png|center|Stats]]<br/>
{{SKCell|Normal:|||||25%}}
+
|no=*This trinket does not provide any <br/>[[damage]] defenses or [[status]] resistances.
{{SKCell|{{{normal|?}}}|center||||25%}}
+
{{SKCell|Stun:|||||25%}}
+
{{SKCell|{{{stun|?}}}|center||||25%}}
+
{{SKNewRow}}
+
{{SKCell|Piercing:}}
+
{{SKCell|{{{piercing|?}}}|center}}
+
{{SKCell|Poison:}}
+
{{SKCell|{{{poison|?}}}|center}}
+
{{SKNewRow}}
+
{{SKCell|Elemental:}}
+
{{SKCell|{{{elemental|?}}}|center}}
+
{{SKCell|Fire:}}
+
{{SKCell|{{{fire|?}}}|center}}
+
{{SKNewRow}}
+
{{SKCell|Shadow:}}
+
{{SKCell|{{{shadow|?}}}|center}}
+
{{SKCell|Freeze:}}
+
{{SKCell|{{{freeze|?}}}|center}}
+
{{SKNewRow}}
+
{{SKCell||||2}}
+
{{SKCell|Shock:}}
+
{{SKCell|{{{shock|?}}}|center}}
+
{{SKNewRow}}
+
{{SKCell||||2}}
+
{{SKCell|Sleep:}}
+
{{SKCell|{{{sleep|?}}}|center}}
+
{{SKNewRow}}
+
{{SKCell||||2}}
+
{{SKCell|Curse:}}
+
{{SKCell|{{{curse|?}}}|center}}
+
{{SKNewRow}}
+
{{SKCell|'''Abilities'''
+
{{{abilities|?}}}|||4}}
+
 
}}
 
}}
 
+
|2=left
<noinclude>
+
{| align="center" width="50%" style="background-color: transparent;"
+
|+ '''Use the following to display quick stats of a Trinket on its page.'''
+
|-
+
| <pre>
+
{{TrinketInfo
+
| name = {{PAGENAME}}
+
| stars =
+
| normal =
+
| piercing =
+
| elemental =
+
| shadow =
+
| stun =
+
| poison =
+
| fire =
+
| freeze =
+
| shock =
+
| sleep =
+
| curse =
+
| abilities =  
+
 
}}
 
}}
</pre>
+
{{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

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