Difference between revisions of "Template:Appearance"

From SpiralKnights

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

Revision as of 22:08, 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