Difference between revisions of "Template:NPC/Layout"

From FreewarWiki
Jump to: navigation, search
(- show/hide images test)
 
(9 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
-->{{#ifeq:{{#var:kind of invasion}}|phasecreatures|{{This article|Refers to one of the different kinds of  '''[[Phase Creatures]]'''.}}}}
 
-->{{#ifeq:{{#var:kind of invasion}}|phasecreatures|{{This article|Refers to one of the different kinds of  '''[[Phase Creatures]]'''.}}}}
 
{| width="500px" style="{{NPC/Colours}} solid 2px;"   
 
{| width="500px" style="{{NPC/Colours}} solid 2px;"   
  | 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:NPCs with Image]]}}</span>}}
+
  | width="60px" align="center" valign="middle" rowspan="3" style="{{NPC/Colours}} outset 2px; margin-right:15px;" | {{#if:{{NAMESPACE}}||{{#ifeq:{{{Image|}}}||<big>'''-'''</big><includeonly>[[Category:NPCs without Image]]</includeonly>|{{{Image}}}[[Category:NPCs with Image]]}}}}
 
  | 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">'''(AGGRESSIVE)'''</span>}} ''([[NPC]])''
Line 25: Line 25:
 
  | {{{Description}}}
 
  | {{{Description}}}
 
  |-
 
  |-
  |{{#ifeq:{{{unattackable|none}}}|none| ''Attack Power: {{{Attack Power}}}''
+
  | ''Attack Power: {{{Attack Power}}}''
 
  |}
 
  |}
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}}
 
 
{| width="500px" |
 
{| width="500px" |
 
  | width="49%"| '''Items:'''
 
  | width="49%"| '''Items:'''
Line 38: Line 37:
 
* [[Drop-Item]]s ''(really infrequent)''
 
* [[Drop-Item]]s ''(really infrequent)''
 
  | &nbsp;
 
  | &nbsp;
  |{{#ifeq:{{{unattackable|none}}}|none|'''Life Points:''' {{{Life Points}}} [[Life Points|LP]]
+
  |'''Life Points:''' {{{Life Points}}} [[Life Points|LP]]
 
  |-
 
  |-
 
  | '''Experience:''' {{{XP}}} [[Experience|XP]]
 
  | '''Experience:''' {{{XP}}} [[Experience|XP]]
Line 45: Line 44:
 
{{#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 />

Latest revision as of 09:52, 21 January 2012

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
Experience: {{{XP}}} XP   Occurrence:

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