Difference between revisions of "Template:TrinketInfo"

From SpiralKnights

Jump to: navigation, search
(Copy-and pasted the Armor template, modified a bit (wee I did it! :D), and created the Trinket one.)
 
m (cat)
 
(21 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|?}}}|right||||25%}}
+
{{SKCell|Stun:|||||25%}}
+
{{SKCell|{{{stun|?}}}|right||||25%}}
+
{{SKNewRow}}
+
{{SKCell|Piercing:}}
+
{{SKCell|{{{piercing|?}}}|right}}
+
{{SKCell|Poison:}}
+
{{SKCell|{{{poison|?}}}|right}}
+
{{SKNewRow}}
+
{{SKCell|Elemental:}}
+
{{SKCell|{{{elemental|?}}}|right}}
+
{{SKCell|Fire:}}
+
{{SKCell|{{{fire|?}}}|right}}
+
{{SKNewRow}}
+
{{SKCell|Shadow:}}
+
{{SKCell|{{{shadow|?}}}|right}}
+
{{SKCell|Freeze:}}
+
{{SKCell|{{{freeze|?}}}|right}}
+
{{SKNewRow}}
+
{{SKCell||||2}}
+
{{SKCell|Shock:}}
+
{{SKCell|{{{shock|?}}}|right}}
+
{{SKNewRow}}
+
{{SKCell||||2}}
+
{{SKCell|Sleep:}}
+
{{SKCell|{{{sleep|?}}}|right}}
+
{{SKNewRow}}
+
{{SKCell||||2}}
+
{{SKCell|Curse:}}
+
{{SKCell|{{{curse|?}}}|right}}
+
{{SKNewRow}}
+
{{SKCell|'''Abilities'''
+
{{{abilities|None}}}|||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 =
+
| 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