Category
|   | You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser |   | 
Difference between revisions of "Template:NPC/Layout"
From FreewarWiki
								
												
				| White-Angel (talk | contribs)  (I think so...) | |||
| Line 9: | Line 9: | ||
|   | {{{Description}}} |   | {{{Description}}} | ||
|   |- |   |- | ||
| − |   | {{#ifeq:{{{ | + |   | {{#ifeq:{{{unattackable|none}}}|none|''Attack Power: {{{Attack Power}}}''}} | 
|   |} |   |} | ||
| {{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}} | {{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}} | ||
| {| width="500px" | | {| width="500px" | | ||
| − |   | width="49%"|{{#ifeq:{{{NPC/Items|none}}}|none|{{NPC/Items|Items=|unattakable={{{unattakable|}}}}}|{{NPC/Items|Items={{{NPC/Ite|}}}| | + |   | width="49%"|{{#ifeq:{{{NPC/Items|none}}}|none|{{NPC/Items|Items=|unattakable={{{unattakable|}}}}}|{{NPC/Items|Items={{{NPC/Ite|}}}|unattackable={{{unattackable|}}}}}}} | 
|   |   |   |   | ||
|   | '''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}}}}} | ||
|   |- |   |- | ||
| − |   | {{#ifeq:{{{ | + |   | {{#ifeq:{{{unattackable|none}}}|none| '''Expirience:''' {{{XP}}} [[Experience|XP]]}} | 
|   |   |   |   | ||
|   | rowspan="3" width="49%" |'''Occurence:''' |   | rowspan="3" width="49%" |'''Occurence:''' | ||
| {{#ifeq:{{#var:Invasion}}|phase creatures|* all over the [[world]]<br />([[Surface]] and [[Dungeon|dungeon]]s), except [[Duel Zone]]|{{{Occurrence}}}}}{{#ifeq:{{#var:Invasion}}|belron|* [[Belron]]}} | {{#ifeq:{{#var:Invasion}}|phase creatures|* all over the [[world]]<br />([[Surface]] and [[Dungeon|dungeon]]s), except [[Duel Zone]]|{{{Occurrence}}}}}{{#ifeq:{{#var:Invasion}}|belron|* [[Belron]]}} | ||
|   |- |   |- | ||
| − |   | {{#ifeq:{{{ | + |   | {{#ifeq:{{{unattackable|none}}}|none|'''Gold:''' {{{Gold}}} [[Gold]]}} | 
|   |- |   |- | ||
|   | |   | | ||
| Line 33: | Line 33: | ||
|   | colspan="3" | |   | colspan="3" | | ||
| {{#ifeq:{{{NPC/Other|none}}}|none|{{#ifeq:{{{ImageAuthor|none}}}|none|{{#ifeq:{{{Bonus|none}}}|none|{{#ifeq:{{{Quest|none}}}|none|{{#ifeq:{{{Aggressive|none}}}|none|{{#ifeq:{{{Lifespan|none}}}|none||'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''<br /> | {{#ifeq:{{{NPC/Other|none}}}|none|{{#ifeq:{{{ImageAuthor|none}}}|none|{{#ifeq:{{{Bonus|none}}}|none|{{#ifeq:{{{Quest|none}}}|none|{{#ifeq:{{{Aggressive|none}}}|none|{{#ifeq:{{{Lifespan|none}}}|none||'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''<br /> | ||
| − | {{{Miscellaneous}}}}}{{NPC/Other|PhasenenergiedropMaximum={{{PhasenenergiedropMaximum|{{PhasenenergiestandarddropMaximum}}}}}|Quest={{{Quest|none}}}| | + | {{{Miscellaneous}}}}}{{NPC/Other|PhasenenergiedropMaximum={{{PhasenenergiedropMaximum|{{PhasenenergiestandarddropMaximum}}}}}|Quest={{{Quest|none}}}|unattackable={{{unattackable|none}}}|Aggressive={{{Aggressive|none}}}|Bonus={{{Bonus|none}}}|ImageAuthor={{{ImageAuthor|none}}}|DetailSite={{{DetailSite|none}}}|Lifespan={{{Lifespan|none}}}}} | 
| |} | |} | ||
| {{ForAll|{{{Name|{{PAGENAME}}}}}}}{{#ifeq:{{NAMESPACE}}||[[Category:NPCs]]}}<noinclude> | {{ForAll|{{{Name|{{PAGENAME}}}}}}}{{#ifeq:{{NAMESPACE}}||[[Category:NPCs]]}}<noinclude> | ||
Revision as of 16:57, 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.

