Difference between revisions of "Template:Unique NPC/Layout"

From FreewarWiki
Jump to: navigation, search
(Created page with '{{TemplateWarning}} {| width="500px" style="{{Unique-NPC/Colours}} double;" | | width="60px" align="center" valign="middle" rowspan="3" style="{{NPC/Colours}} outset 2px; margin-…')
 
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{TemplateWarning}}
 
{{TemplateWarning}}
 +
{{GermanLinking|Name:DE={{{Name:DE|none}}}}}
 
{| width="500px" style="{{Unique-NPC/Colours}} double;" |
 
{| width="500px" style="{{Unique-NPC/Colours}} double;" |
| width="60px" align="center" valign="middle" rowspan="3" style="{{NPC/Colours}} outset 2px; margin-right:15px;" | <span class="NI">{{#ifeq:{{{Image|}}}||<big>'''-'''</big><includeonly>[[Category:NPCs without a Image]]</includeonly>|{{{Image}}}[[Category:NPCs with Image]]}}</span>
+
| width="60px" align="center" valign="middle" rowspan="3" style="{{NPC/Colours}} outset 2px; margin-right:15px;" | {{#ifeq:{{{Image|}}}||<big>'''-'''</big><includeonly>[[Category:NPCs without a Image]]</includeonly>|{{{Image}}}[[Category:NPCs with Image]]}}
 
  | width="5px" rowspan="3" |  
 
  | width="5px" rowspan="3" |  
 
  | '''{{{Name|{{PAGENAME}}}}}''' ''([[Unique-NPC]])''
 
  | '''{{{Name|{{PAGENAME}}}}}''' ''([[Unique-NPC]])''
Line 9: Line 10:
 
  | ''Attack Power: {{{Attack Power}}}''
 
  | ''Attack Power: {{{Attack Power}}}''
 
  |}
 
  |}
{{#ifeq:{{{Image|}}}|||{{NPC/ShowImage}}}}
+
 
 
{| width="500px" |
 
{| width="500px" |
 
  | width="49%"|  
 
  | width="49%"|  
 
'''Items:'''
 
'''Items:'''
{{{Items}}}{{#ifeq:{{{Spitzhacke|}}}|none||
+
{{{Items}}}{{#ifeq:{{{Pickaxe|}}}|none||
* [[Spitzhacke]] ''(sometimes)''
+
* [[Pickaxe]] ''(sometimes)''
 
}}
 
}}
 
* [[Spirit Shard]] ''(80%)''
 
* [[Spirit Shard]] ''(80%)''
Line 25: Line 26:
 
  | &nbsp;
 
  | &nbsp;
 
  | rowspan="3" width="49%" |'''Respawn:'''
 
  | rowspan="3" width="49%" |'''Respawn:'''
{{{Occcurrence}}}<br />{{#ifeq:{{{Occurrence|none}}}|none|<small>This NPC will [[respawn]] in this area. If it is able to move on its own, you will be able to find it in other regions as well.</small>|<small>{{{OccurrenceText}}}</small>}}
+
{{{Occurrence}}}<br />{{#ifeq:{{{OccurrenceText|none}}}|none|<small>This NPC will [[respawn]] in this area. If it is able to move on its own, you will be able to find it in other regions as well.</small>|<small>{{{OccurrenceText}}}</small>}}
 
  |-
 
  |-
 
  | '''Gold:''' {{{Gold}}} [[Gold]]
 
  | '''Gold:''' {{{Gold}}} [[Gold]]
Line 36: Line 37:
 
* {{DetailPageLink}}}}{{#ifeq:{{{Miscellaneous|none}}}|none||
 
* {{DetailPageLink}}}}{{#ifeq:{{{Miscellaneous|none}}}|none||
 
{{{Miscellaneous}}}}}{{#ifeq:{{{Bonus|none}}}|none||
 
{{{Miscellaneous}}}}}{{#ifeq:{{{Bonus|none}}}|none||
* Dieses NPC sammelt keinen [[NPC#Gold von NPCs|Bonus]] an.  
+
* This NPC does not accumulate a [[NPC#Gold from NPCs|gold bonus]].  
[[Category:NPCs without a golddrop bonus]]}}{{#ifeq:{{{Immun}}}|entire|[[Category:entire immune NPCs]]}}{{#ifeq:{{{Immune}}}|partly|[[Category:partly immune NPCs]]}}{{#ifeq:{{{ImageAuthor}}}|unknown|* The author of this NPC image is unkown.}}{{#ifeq:{{{ImageAuthor|none}}}|none||* This NPC image was created by[[{{{ImageAuthor}}}]].}}
+
[[Category:NPCs without a golddrop bonus]]}}{{#ifeq:{{{Immun}}}|entire|[[Category:entire immune NPCs]]}}{{#ifeq:{{{Immune}}}|partly|[[Category:partly immune NPCs]]}}{{#ifeq:{{{ImageAuthor}}}|unknown|* The author of this NPC image is unkown.}}{{#ifeq:{{{ImageAuthor|none}}}|none||* This NPC image was created by [[{{{ImageAuthor}}}]].}}
 
  |}
 
  |}
  

Latest revision as of 16:55, 24 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

- Unique NPC/Layout (Unique-NPC)
{{{Description}}}
Attack Power: {{{Attack Power}}}

Items: {{{Items}}}

  Life Points: {{{Life Points}}} LP
Experience: {{{XP}}} XP   Respawn:

{{{Occurrence}}}
This NPC will respawn in this area. If it is able to move on its own, you will be able to find it in other regions as well.

Gold: {{{Gold}}} Gold
 
Miscellaneous:



Documentation

Usage
The template contains the sourcecod for all Unique-NPC articles.

Integration
This template can be incorporated by using {{Unique-NPC/Layout}}. Parameter are given in Template:Unique-NPC. It will be incorporated automatically.