Category
| You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser |
Template:NPC/Layout: Difference between revisions
Jump to navigation
Jump to search
White-Angel (talk | contribs) m Reverted edits by White-Angel (Talk) to last revision by Amaryll |
White-Angel (talk | contribs) I think so... |
||
| Line 1: | Line 1: | ||
{{TemplateWarning}} | {{TemplateWarning}} | ||
{{GermanLinking|Name:DE={{{Name:DE|none}}}}} | {{GermanLinking|Name:DE={{{Name:DE|none}}}}} | ||
{{NPC/Invasion|Invasion={{{Invasion}}}}} | |||
| | |||
{| 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: | | 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">'''( | | '''{{{Name|{{PAGENAME}}}}}''' {{#ifeq:{{{Aggressive|none}}}|none||<span style="color:#ff0000">'''(AGGRESSIV)'''</span>}} ''([[NPC]])'' | ||
|- | |- | ||
| {{{Description}}} | | {{{Description}}} | ||
|- | |- | ||
| ''Attack Power: {{{Attack Power}}}'' | | {{#ifeq:{{{unattakable|none}}}|none|''Attack Power: {{{Attack Power}}}''}} | ||
|} | |} | ||
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}} | {{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}} | ||
{| width="500px" | | {| width="500px" | | ||
| width="49%"| | | width="49%"|{{#ifeq:{{{NPC/Items|none}}}|none|{{NPC/Items|Items=|unattakable={{{unattakable|}}}}}|{{NPC/Items|Items={{{NPC/Ite|}}}|unattakable={{{unaattakable|}}}}}}} | ||
{{#ifeq:{{{Items|none}}}|none||{{{ | |||
| | | | ||
|'''Life Points:''' {{{Life Points}}} [[Life Points|LP]] | | '''Life Points:''' {{#ifeq:{{{Life Poins|none}}}|none|{{{Life Points}}} [[Life Points|LP]]|{{{Life Points}}}}} | ||
|- | |- | ||
| ''' | | {{#ifeq:{{{unattakable|none}}}|none| '''Expirience:''' {{{XP}}} [[Experience|XP]]}} | ||
| | | | ||
| rowspan="3" width="49%" |''' | | rowspan="3" width="49%" |'''Occurence:''' | ||
{{#ifeq:{{#var: | {{#ifeq:{{#var:Invasion}}|phase creatures|* all over the [[world]]<br />([[Surface]] and [[Dungeon|dungeon]]s), except [[Duel Zone]]|{{{Occurrence}}}}}{{#ifeq:{{#var:Invasion}}|belron|* [[Belron]]}} | ||
|- | |- | ||
|'''Gold:''' {{{Gold}}} [[Gold]] | | {{#ifeq:{{{unattakable|none}}}|none|'''Gold:''' {{{Gold}}} [[Gold]]}} | ||
|- | |- | ||
| {{#ifeq:{{{ | | | ||
|- | |||
}} | | colspan="3" | | ||
{{#ifeq:{{{Function|none}}}|none||'''Function''': | |||
{{{Function}}}}} | |||
|- | |- | ||
| colspan="3" | | | colspan="3" | | ||
{{#ifeq:{{{ | {{#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}}}|unattakable={{{unattackable|none}}}|Aggressive={{{Aggressive|none}}}|Bonus={{{Bonus|none}}}|ImageAuthor={{{ImageAuthor|none}}}|DetailSite={{{DetailSite|none}}}|Lifespan={{{Lifespan|none}}}}} | |||
}} | |||
{{ | |||
|} | |} | ||
{{ForAll}} | {{ForAll|{{{Name|{{PAGENAME}}}}}}}{{#ifeq:{{NAMESPACE}}||[[Category:NPCs]]}}<noinclude> | ||
<noinclude> | <noinclude> | ||
Revision as of 10:35, 22 September 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.