Difference between revisions of "Template:NPC/Layout"

From FreewarWiki
Jump to: navigation, search
(- show/hide images test)
 
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{TemplateWarning}}
 
{{TemplateWarning}}
{{GermanLinkig|Name:DE={{{Name:DE|none}}}}}
+
{{GermanLinking|Name:DE={{{Name:DE|none}}}}}<!--
<!--
 
 
Definition of the kind of invasions
 
Definition of the kind of invasions
 
-->{{#switch: {{{Invasion}}}
 
-->{{#switch: {{{Invasion}}}
| ja
+
| yes
 
| ok
 
| ok
 
| true = {{#vardefine:kind of invasion|normal}}
 
| true = {{#vardefine:kind of invasion|normal}}
| phase npc
+
| phasenpc
| Phase npc = {{#vardefine:kind of invasion|phase creatures}}
+
| Phasenpc = {{#vardefine:kind of invasion|phasecreatures}}
| phase creature
+
| phasecreature
| Phase creature = {{#vardefine:kind of invasion|phase creatures}}
+
| Phasecreature = {{#vardefine:kind of invasion|phasecreatures}}
 
| Belron
 
| Belron
 
| belron = {{#vardefine:kind of invasion|belron}}
 
| belron = {{#vardefine:kind of invasion|belron}}
Line 18: Line 17:
 
| #default = {{#vardefine:kind of invasion|none}}
 
| #default = {{#vardefine:kind of invasion|none}}
 
}}<!--
 
}}<!--
-->{{#ifeq:{{#var:kind of invasion}}|phase creatures|{{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:{{{Picture|}}}||<big>'''-'''</big><includeonly>[[Category:NPCs without picture]]</includeonly>|{{{Picture}}}[[Category:NPCs with picture]]}}</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">'''(AGGRESSIV)'''</span>}} ''([[NPC]])''
+
  | '''{{{Name|{{PAGENAME}}}}}''' {{#ifeq:{{{Aggressive|none}}}|none||<span style="color:#ff0000">'''(AGGRESSIVE)'''</span>}} ''([[NPC]])''
 
  |-
 
  |-
 
  | {{{Description}}}
 
  | {{{Description}}}
 
  |-
 
  |-
  | ''Attack Power: {{{Power}}}''
+
  | ''Attack Power: {{{Attack Power}}}''
 
  |}
 
  |}
{{#ifeq:{{{Picture|}}}|||{{NPC/ShowImage}}}}
 
 
{| width="500px" |
 
{| width="500px" |
 
  | width="49%"| '''Items:'''
 
  | width="49%"| '''Items:'''
{{#ifeq:{{{Items|none}}}|none||{{{Items}}}}}{{#ifeq:{{#var:kind of invasion}}|phase creatures|
+
{{#ifeq:{{{Items|none}}}|none||{{{Items}}}}}{{#ifeq:{{#var:kind of invasion}}|phasecreatures|
* [[Phasenkugel]] ''(1:15)''}}{{#ifeq:{{#var:kind of invation}}|belron|
+
* [[Phase Sphere]] ''(1:15)''}}{{#ifeq:{{#var:kind of invasion}}|belron|
* [[Phasenstrahlkanone]] ''(1:4000)''
+
* [[Phase Raygun]] ''(1:4000)''
* [[Buch der Phasenenergieeffizienz]] ''(1:20000)''}}
+
* [[Book of Phase Energy Efficiency]] ''(1:20000)''}}
 
* [[Soul Capsule]] ''{{#ifeq:{{#var:kind of invasion}}|none|(not always)|(95% less frequent than normal)}}''
 
* [[Soul Capsule]] ''{{#ifeq:{{#var:kind of invasion}}|none|(not always)|(95% less frequent than normal)}}''
* [[Geisterfunke]] ''(infrequent)''
+
* [[Spirit Shard]] ''(infrequent)''
 
* [[Drop-Item]]s ''(really infrequent)''
 
* [[Drop-Item]]s ''(really infrequent)''
 
  | &nbsp;
 
  | &nbsp;
Line 43: Line 41:
 
  | '''Experience:''' {{{XP}}} [[Experience|XP]]
 
  | '''Experience:''' {{{XP}}} [[Experience|XP]]
 
  | &nbsp;
 
  | &nbsp;
  | rowspan="3" width="49%" |'''Occurences:'''
+
  | rowspan="3" width="49%" |'''Occurrence:'''
{{#ifeq:{{#var:kind of invasion}}|phase creatures|* all over the [[world]]<br />([[surface]] and [[Dungeon]]s), except [[Kampfgebiet]]|{{{Occurences}}}}}{{#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]]
 
  |'''Gold:''' {{{Gold}}} [[Gold]]
Line 53: Line 51:
 
  |-
 
  |-
 
  | colspan="3" |
 
  | colspan="3" |
{{#ifeq:{{{Other|none}}}|none|{{#ifeq:{{{PictureAuthor|none}}}|none|{{#ifeq:{{{Bonus|none}}}|none||'''Other:'''}}|'''Other:'''}}|'''Other:'''<br />
+
{{#ifeq:{{{Miscellaneous|none}}}|none|{{#ifeq:{{{ImageAuthor|none}}}|none|{{#ifeq:{{{Bonus|none}}}|none||'''Miscellaneous:'''}}|'''Miscellaneous:'''}}|'''Miscellaneous:'''<br />
{{{Other}}}}}{{#ifeq:{{{Bonus|none}}}|none||
+
{{{Miscellaneous}}}}}{{#ifeq:{{{Bonus|none}}}|none||
 
* This NPC does not collect any [[NPC#Gold from NPCs|bonus]].
 
* This NPC does not collect any [[NPC#Gold from NPCs|bonus]].
 
[[Category:NPCs without gold drop bonus]]}}{{#ifeq:{{#var:kind of invasion}}|none||{{#ifeq:{{#var:kind of invasion}}|phase creature|
 
[[Category:NPCs without gold drop bonus]]}}{{#ifeq:{{#var:kind of invasion}}|none||{{#ifeq:{{#var:kind of invasion}}|phase creature|
* Die Droprate der [[Phasenkugel]] ist durch die [[Charakterfähigkeit]] [[Phasenverständnis]] steigerbar.
+
* The drop rate of a [[Phase Sphere]] can be raised by learning the [[Phase Theory]] [[Skill]].
* Durch Kill dieser NPCs lädt sich die Phasenenergie auf.
+
* When you kill this NPC, you will gain Phase Energy.
* Dieses NPC hat einen besonderen Chattext, wenn es erscheint:
+
* This NPC has a special chat text when it appears:
{{Chat/Handlung| |Die Luft flackert und ein Phasenwesen erscheint an diesem Ort}}[[Category:Phase Creatures]]}}{{#ifeq:{{#var:kind of invasion}}|belron|
+
{{Chat/Action| |The air flickers and a phase creature appears on the field.}}[[Category:Phase Creatures]]}}{{#ifeq:{{#var:kind of invasion}}|belron|
* Dieses NPC hat einen besonderen Chattext, wenn es erscheint:
+
* This NPC has a special chat text when it appears:
{{Chat/Handlung| |Kleine Sporen fliegen durch die Gegend und in Sekundenschnelle wächst ein '''{{PAGENAME}}''' aus dem Boden.}}
+
{{Chat/Action| |Tiny spores sink to the ground, and within seconds a '''{{PAGENAME}}''' has grown to its full size.}}
* Man kann hier nicht mit [[Seelenkugeln]] landen.
+
* You are not able to appear on this field by using [[Soul Spheres]].
* Dieses NPC respawnt ausschließlich durch Tötung eines [[Sporenträger]]s.
+
* This NPC will only respawn when killing a [[Spore Carrier]].
 
}}
 
}}
* This NPC dissolve after a certain amout of time {{#ifeq:{{#var:kind of invasion}}|belron|(between 10 minuten and 2 hours) }}.
+
* This NPC dissolves after a certain amount of time {{#ifeq:{{#var:kind of invasion}}|belron|(between 10 minutes and 2 hours) }}.
 
{{Chat/Action|{{{Name|{{PAGENAME}}}}}|dissolves.}}
 
{{Chat/Action|{{{Name|{{PAGENAME}}}}}|dissolves.}}
* Bei diesem NPC springt [[Halsschmuck]], der durch Killen aktiviert wird, zu 95% seltener als normal an.
+
* When killing this NPC, any [[Amulet]] will be activated 95% less than usual.
* Dieses NPC kann nicht [[Auferstehungszauber|herbeigerufen]] werden, außer es wurde vorher verjagt.
+
* This NPC cannot be [[Resurrection Spells|summoned]], except it was chased away previously.
 
[[Category:Invasion NPCs]]}}{{#ifeq:{{{Aggressive|none}}}|none||
 
[[Category:Invasion NPCs]]}}{{#ifeq:{{{Aggressive|none}}}|none||
* WARNING: This NPC is able to attak a [[player]] at the earliest of 2 seconds after he stepped on the field and eventually kill him!
+
* WARNING: This NPC is able to attack and kill a [[player]], at the earliest 2 seconds after s/he stepped onto the field!
[[Category:Aggressive NPCs]]}}{{#ifeq:{{{PictureAuthor}}}|unknown|
+
[[Category:Aggressive NPCs]]}}{{#ifeq:{{{ImageAuthor}}}|unknown|
*The author of this NPC picture is unknown.|{{#ifeq:{{{PictureAuthor|none}}}|none||
+
*The author of this NPC picture is unknown.|{{#ifeq:{{{ImageAuthor|none}}}|none||
*This NPC picture was created by [[{{{PictureAuthor}}}]].}}}}
+
*This NPC picture was created by [[{{{ImageAuthor}}}]].}}}}
 
|}
 
|}
{{ForAll}}{{#ifeq:{{NAMESPACE}}||
+
{{ForAll}}
 +
 
 +
{{#ifeq:{{NAMESPACE}}||
 
[[Category:NPCs]]
 
[[Category:NPCs]]
}}<noinclude>
+
}}
  
{{Template Documentation|This template contains the character sequent for articles about NPCs.|To incorporate this template please use '''<tt><nowiki>{{NPC/Layout}}</nowiki></tt>''' . The parameters will be given in [[Template:NPC]] . It will be incorporated automatically.}}
+
<noinclude>
 +
{{Template Documentation|This template contains the source code for NPC articles.|This template can be incorporated by using '''<tt><nowiki>{{NPC/Layout}}</nowiki></tt>'''. The parameters are given in [[Template:NPC]]. It will be incorporated automatically.}}
  
 
[[Category:ArticleLayout|NPC]]
 
[[Category:ArticleLayout|NPC]]
 
</noinclude>
 
</noinclude>

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.