Difference between revisions of "Template:Appearance"

From SpiralKnights

Jump to: navigation, search
m (better defaults)
m (it would help to put these things in here)
Line 1: Line 1:
<includeonly>{{#switch:{{{NPC|yes}}}|yes=This character has items most similar to:<br>|no=}}[[File:Icon-usable.png|25px|link=Modifier]] {{{mod|N/A}}}
+
<includeonly>{{#switch:{{{NPC|yes}}}|yes=This character has items most similar to:<br>|no=}}[[File:Icon-usable.png|25px|link=Modifier]] {{{mod|N/A}}}{{#if:{{{helmet|}}}
 
+
|[[File:Icon-helmet.png|25px|link=Helmet]] {{{helmet|N/A}}}
[[File:Icon-helmet.png|25px|link=Helmet]] {{#if:{{{helmet|}}}|{{{helmet}}}|N/A}}
+
|}}{{#if:{{{armor|}}}
 
+
|[[File:Icon-armor.png|25px|link=Armor]] {{{armor|N/A}}}
[[File:Icon-armor.png|25px|link=Armor]] {{#if:{{{armor|}}}|{{{armor}}}|N/A}}
+
|}}{{#if:{{{shield|}}}
 
+
|[[File:Icon-shield.png|25px|link=Shield]] {{{shield|N/A}}}
[[File:Icon-shield.png|25px|link=Shield]] {{#if:{{{shield|}}}|{{{shield}}}|N/A}}
+
|}}{{#if:{{{weapon|}}}
 
+
|[[File:Icon-sword.png|25px|link=Weapon]] {{{weapon|N/A}}}
[[File:Icon-sword.png|25px|link=Weapon]] {{#if:{{{weapon|}}}|{{{weapon}}}|N/A}}</includeonly><noinclude>
+
|}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 22:07, 4 November 2015

[edit] [purge] Template documentation

Usage

To display information about an entity, typically an NPC, in the appropriate ToC section of a relevant page.

Code

If the entity uses equipment (can be a knight or a monster that wears equipment etc.): Optional paragraph style of appearance here, in addition to:

{{appearance
|type   = equipment
|mod    = 
|helmet = 
|armor  = 
|shield = 
|weapon =
}} 

Examples

See what links here for examples of this template in action.

Personal tools