Difference between revisions of "Template:Appearance"

From SpiralKnights

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

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