Difference between revisions of "Template:TrinketInfo"

From SpiralKnights

Jump to: navigation, search
m (Switch to {{documentation}})
(New and improved template)
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|Unknown}}}_icon.png
| title = {{PAGENAME}}
+
| title = {{{name|Trinket}}}
 
| stars = {{{stars|0}}}
 
| stars = {{{stars|0}}}
 
| body =
 
| body =
 
+
{{SKWindow/NewRow}}
{{#if: {{{defensetype1<includeonly>|</includeonly>}}} |
+
{{SKWindow/Cell|[[Image:Equipment-{{{name|Unknown}}}_Stats.png]]|center}}
{{SKNewRow}}
+
{{SKWindow/NewRow}}
{{SKCell|{{{defensetype1<noinclude>|Normal</noinclude>}}}:|||||50%}}
+
{{SKWindow/Cell|'''Abilities'''
{{SKCell|{{{defensestat1<noinclude>|0</noinclude>}}}|right||||50%}}
+
{{{abilities|None}}}|||4}}
 
}}
 
}}
 
+
<noinclude>{{documentation}}</noinclude>
{{#if: {{{defensetype2<includeonly>|</includeonly>}}} |
+
<includeonly>[[Category:Gear]][[Category:Trinkets]]
{{SKNewRow}}
+
{{#switch: {{{promotional}}}
{{SKCell|{{{defensetype2<noinclude>|Piercing</noinclude>}}}:}}
+
| yes = [[Category:Promotional items]]
{{SKCell|{{{defensestat2<noinclude>|0</noinclude>}}}|right}}
+
| #default =
 
}}
 
}}
 
+
</includeonly>
{{#if: {{{abilities<includeonly>|</includeonly>}}} |
+
{{SKNewRow}}
+
{{SKCell|'''Abilities'''
+
{{{abilities<noinclude>|
+
* Ability 1
+
* Ability 2
+
</noinclude>}}}|||2}}
+
}}
+
 
+
}}
+
<noinclude>{{documentation}}</noinclude>
+

Revision as of 22:07, 12 June 2011

Trinket ☆☆☆☆☆
File:Equipment-Unknown Stats.png
Abilities

None

[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