Difference between revisions of "Template:TrinketInfo"

From SpiralKnights

Jump to: navigation, search
m (switches for abilities vs. stats)
Line 8: Line 8:
 
| body =
 
| body =
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|[[Image:Equipment-{{{name|Trinket}}}_Stats.png]]|center}}
+
{{SKWindow/Cell|'''[[Defense]]s''':
 +
{{#switch:{{{stats|no}}}
 +
|yes=[[Image:Equipment-{{{name|Trinket}}}_Stats.png]]
 +
|no=*This trinket does not provide any <br/>[[damage|type defense]]s or [[status]] resistances.
 +
}}
 +
}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''Abilities'''
+
{{SKWindow/Cell|'''[[Abilities]]:'''
{{{abilities|None}}}|||4}}
+
{{#switch:{{{abilities|no}}}
 +
|yes=[[Image:Equipment-{{{name|Trinket}}}_Abilities.png]]
 +
|no=*This trinket does not provide any special [[abilities]].
 +
}}
 
}}
 
}}
<noinclude>{{documentation}}</noinclude>
+
}}<includeonly>[[Category:Gear]][[Category:Trinkets]]
<includeonly>[[Category:Gear]][[Category:Trinkets]]
+
 
{{#switch: {{{promotional}}}
 
{{#switch: {{{promotional}}}
 
| yes = [[Category:Promotional items]]
 
| yes = [[Category:Promotional items]]
 
| #default =
 
| #default =
 
}}
 
}}
</includeonly>The '''{{PAGENAME}}''' is a {{{stars}}}-star [[trinket]].
+
</includeonly>The '''{{PAGENAME}}''' is a {{{stars}}}-star [[trinket]].<noinclude>{{documentation}}</noinclude>

Revision as of 06:35, 13 January 2015

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