Difference between revisions of "Template:NPC/Layout"

From FreewarWiki
Jump to: navigation, search
Line 25: Line 25:
 
  | {{{Description}}}
 
  | {{{Description}}}
 
  |-
 
  |-
  | ''Attack Power: {{{Attack Power}}}''
+
  |{{#ifeq:{{{unattackable|none}}}|none| ''Attack Power: {{{Attack Power}}}''
 
  |}
 
  |}
 
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}}
 
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}}
Line 38: Line 38:
 
* [[Drop-Item]]s ''(really infrequent)''
 
* [[Drop-Item]]s ''(really infrequent)''
 
  |  
 
  |  
  |'''Life Points:''' {{{Life Points}}} [[Life Points|LP]]
+
  |{{#ifeq:{{{unattackable|none}}}|none|'''Life Points:''' {{{Life Points}}} [[Life Points|LP]]
 
  |-
 
  |-
 
  | '''Experience:''' {{{XP}}} [[Experience|XP]]
 
  | '''Experience:''' {{{XP}}} [[Experience|XP]]
Line 45: Line 45:
 
{{#ifeq:{{#var:kind of invasion}}|phase creatures|* all over the [[world]]<br />([[Surface]] and [[Dungeon|dungeon]]s), except [[Duel Zone]]|{{{Occurrence}}}}}{{#ifeq:{{#var:kind of invasion}}|belron|* [[Belron]]}}
 
{{#ifeq:{{#var:kind of invasion}}|phase creatures|* all over the [[world]]<br />([[Surface]] and [[Dungeon|dungeon]]s), except [[Duel Zone]]|{{{Occurrence}}}}}{{#ifeq:{{#var:kind of invasion}}|belron|* [[Belron]]}}
 
  |-
 
  |-
  |'''Gold:''' {{{Gold}}} [[Gold]]
+
 
 +
  |{{#ifeq:{{{unattackable|none}}}|none|'''Gold:''' {{{Gold}}} [[Gold]]
 
  |-
 
  |-
 
  | {{#ifeq:{{{Quest|none}}}|none||'''Quest:'''<br />
 
  | {{#ifeq:{{{Quest|none}}}|none||'''Quest:'''<br />

Revision as of 23:10, 19 August 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}}}
none| Attack Power: {{{Attack Power}}}
Items:   none|Life Points: {{{Life Points}}} LP
Experience: {{{XP}}} XP   Occurrence:

{{{Occurrence}}}

none|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.