Difference between revisions of "Template:NPC/Layout"

From FreewarWiki
Jump to: navigation, search
(Undo revision 7199 by Amaryll (Talk))
Line 5: Line 5:
 
  | width="60px" align="center" valign="middle" rowspan="3" style="{{NPC/Colours}} outset 2px; margin-right:15px;" | {{#if:{{NAMESPACE}}||<span class="NI">{{#ifeq:{{{Image|}}}||<big>'''-'''</big><includeonly>[[Category:NPCs without Image]]</includeonly>|{{{Image}}}[[Category:NPC with Image]]}}</span>}}
 
  | width="60px" align="center" valign="middle" rowspan="3" style="{{NPC/Colours}} outset 2px; margin-right:15px;" | {{#if:{{NAMESPACE}}||<span class="NI">{{#ifeq:{{{Image|}}}||<big>'''-'''</big><includeonly>[[Category:NPCs without Image]]</includeonly>|{{{Image}}}[[Category:NPC with Image]]}}</span>}}
 
  | width="5px" rowspan="3" |  
 
  | width="5px" rowspan="3" |  
  | '''{{{Name|{{PAGENAME}}}}}''' {{#ifeq:{{{Aggressive|none}}}|none||<span style="color:#ff0000">'''(AGGRESSIVE)'''</span>}} ''([[NPC]])''
+
  | '''{{{Name|{{PAGENAME}}}}}''' {{#ifeq:{{{Aggressive|none}}}|none||<span style="color:#ff0000">'''(AGGRESSIV)'''</span>}} ''([[NPC]])''
 
  |-
 
  |-
 
  | {{{Description}}}
 
  | {{{Description}}}
Line 13: Line 13:
 
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}}
 
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}}
 
{| width="500px" |
 
{| width="500px" |
  | width="49%"|{{#ifeq:{{{NPC/Items|none}}}|none|{{NPC/Items|Items=|unattackable={{{unattackable|}}}}}|{{NPC/Items|Items={{{NPC/Ite|}}}|unattackable={{{unattackable|}}}}}}}
+
  | width="49%"|{{#ifeq:{{{NPC/Items|none}}}|none|{{NPC/Items|Items=|unattakable={{{unattakable|}}}}}|{{NPC/Items|Items={{{NPC/Ite|}}}|unattackable={{{unattackable|}}}}}}}
 
  | &nbsp;
 
  | &nbsp;
 
  | '''Life Points:''' {{#ifeq:{{{Life Poins|none}}}|none|{{{Life Points}}} [[Life Points|LP]]|{{{Life Points}}}}}
 
  | '''Life Points:''' {{#ifeq:{{{Life Poins|none}}}|none|{{{Life Points}}} [[Life Points|LP]]|{{{Life Points}}}}}

Revision as of 17:02, 4 October 2011

Error creating thumbnail: Unable to save thumbnail to destination
   This template is designed to be used in other articles. You will not need to change it when creating another article. If you need help when using it, have a look at our help page. Parameters and optional parameters can be found here. Please take the template convention into account.

Your FreewarWiki-Team

NPC/Layout (NPC)
{{{Description}}}
Attack Power: {{{Attack Power}}}

Items:

  Life Points: {{{Life Points}}} LP
Expirience: {{{XP}}} XP   Occurence:

{{{Occurrence}}}

Gold: {{{Gold}}} Gold



Documentation

Usage
This template contains the source code for NPC articles.

Integration
This template can be incorporated by using {{NPC/Layout}}. The parameters are given in Template:NPC. It will be incorporated automatically.