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
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">'''( | + | | '''{{{Name|{{PAGENAME}}}}}''' {{#ifeq:{{{Aggressive|none}}}|none||<span style="color:#ff0000">'''(AGGRESSIVE)'''</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=| | + | | width="49%"|{{#ifeq:{{{NPC/Items|none}}}|none|{{NPC/Items|Items=|unattackable={{{unattackable|}}}}}|{{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}}}}} |
Revision as of 16:59, 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.