Difference between revisions of "Template:Appearance"
From SpiralKnights
m (some defaults) |
m (better defaults) |
||
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}}} | ||
− | [[File:Icon-helmet.png|25px|link=Helmet]] {{{helmet|N/A | + | [[File:Icon-helmet.png|25px|link=Helmet]] {{#if:{{{helmet|}}}|{{{helmet}}}|N/A}} |
− | [[File:Icon-armor.png|25px|link=Armor]] {{{armor|N/A | + | [[File:Icon-armor.png|25px|link=Armor]] {{#if:{{{armor|}}}|{{{armor}}}|N/A}} |
− | [[File:Icon-shield.png|25px|link=Shield]] {{{shield|N/A | + | [[File:Icon-shield.png|25px|link=Shield]] {{#if:{{{shield|}}}|{{{shield}}}|N/A}} |
− | [[File:Icon-sword.png|25px|link=Weapon]] {{{weapon|N/A | + | [[File:Icon-sword.png|25px|link=Weapon]] {{#if:{{{weapon|}}}|{{{weapon}}}|N/A}}</includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 22:02, 4 November 2015
[edit] [ ] 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.
The above documentation is transcluded from Template:Appearance/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |