Latest Neocron News and Information

  • New test server patch #547 has been released to Vedeena

Difference between revisions of "Template:Npcbox"

From Neocron Wiki
Jump to: navigation, search
m (New page: {{npcbox/code}}<onlyinclude><div class="npcbox"> {| align="{{{float|right}}}" class="darktable" style="width: 20em; margin: 0 0 20px 10px" |- ! style="text-align: left; padding: 5px; font-...)
 
m
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{npcbox/code}}<onlyinclude><div class="npcbox">
+
<onlyinclude><div class="npcbox">
 
{| align="{{{float|right}}}" class="darktable" style="width: 20em; margin: 0 0 20px 10px"
 
{| align="{{{float|right}}}" class="darktable" style="width: 20em; margin: 0 0 20px 10px"
 
|-
 
|-
! style="text-align: left; padding: 5px; font-size: 110%;" colspan="2" | <span style="margin-right: .75em;"><div class="npcicon" style="display: inline;">[[Image:{{#ifeq:{{ucfirst:{{{faction|Neutral}}}}}|Combat|Npc box combat.png{{!}}32px|{{{faction|Neutral}}} 32.gif}}|{{{faction|Neutral}}}]]</div></span><div class="npcname" style="display: inline;">{{{name|{{PAGENAME}}}}}</div>
+
<!-- 
 +
! style="text-align: left; padding: 5px; font-size: 110%; background-color:#00446A" colspan="2" | <span style="margin-right: .75em;"><div class="npcicon" style="display: inline;">[[Image:{{#ifeq:{{ucfirst:{{{faction|Neutral}}}}}|Combat|Npc box combat.png{{!}}32px|{{{faction|Neutral}}} 32.png}}|{{{faction|Neutral}}}]]</div></span><div class="npcname" style="display: inline;">{{{name|{{PAGENAME}}}}}</div>
 +
-->
 
|-
 
|-
 +
! style="text-align: left; padding: 5px; font-size: 110%; background-color:#00446A" colspan="2" | <span style="margin-right: .75em;"><div class="npcicon" style="display: inline;">{{#if:{{{faction|}}}|[[Image:{{{faction}}} 32.png{{!}}
 +
{{#if:{{{faction|Combat}}}{{!}}|32px{{!}}|60px}}]]|[[Image:Unknown_32.png|32px]]}}</div></span><div class="npcname" style="display: inline;">{{{name|{{PAGENAME}}}}}</div>
 +
|-
 +
<!--! style="align:center;" colspan="2"|
 +
|[[Image:City_Mercs_32.png|City Mercenaries]]
 +
|- -->
 
{{#if:{{{image|}}}|{{!}} colspan{{eq}}"2" {{!}} <div style="text-align: center; padding: 5px 0" class="npcpic">[[Image:{{{image}}}|200x300px|Image of {{{name}}}]]</div>}}
 
{{#if:{{{image|}}}|{{!}} colspan{{eq}}"2" {{!}} <div style="text-align: center; padding: 5px 0" class="npcpic">[[Image:{{{image}}}|200x300px|Image of {{{name}}}]]</div>}}
 
|-
 
|-
Line 20: Line 28:
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Level
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Level
 
{{!}} <div class="npclevel">{{{level}}} {{{type|}}}</div> }}
 
{{!}} <div class="npclevel">{{{level}}} {{{type|}}}</div> }}
|-
 
{{#if:{{{character|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Character class
 
{{!}} {{{character}}} }}
 
|-
 
{{#if:{{{health|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Health
 
{{!}} <div class="npchp">{{{health}}}</div> }}
 
|-
 
{{#if:{{{mana|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Mana
 
{{!}} <div class="npcmp">{{{mana}}}</div> }}
 
 
|-
 
|-
 
{{#if:{{{money|}}}|
 
{{#if:{{{money|}}}|
Line 37: Line 33:
 
{{!}} {{{money}}} }}
 
{{!}} {{{money}}} }}
 
|-
 
|-
{{#if:{{{aggro|}}}|
+
{{#if:{{{loot|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Reaction
+
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Loot
{{!}} <div class="npcreact">{{{aggro}}}</div> }}
+
{{!}} {{{loot}}} }}
 
|-
 
|-
{{#if:{{{repfaction|{{{city|{{{affiliation|}}}}}}}}}|
+
{{#if:{{{damage_1|}}}|
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Affiliation
+
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Damage types
{{!}} <div class="npcfaction">{{#if:{{{repfaction|{{{city|}}}}}}|[[{{{repfaction|{{{city}}}}}}]]|{{{affiliation}}}}}</div> }}
+
{{!}}  
 +
[[Image:Icon_{{{damage_1}}}.png|100px|{{{damage_1}}} Damage]] <br>
 +
{{#if:{{{damage_2|}}}| [[Image:Icon_{{{damage_2}}}.png|100px|{{{damage_2}}} Damage]]<br>
 +
{{#if:{{{damage_3|}}}| [[Image:Icon_{{{damage_3}}}.png|100px|{{{damage_3}}} Damage]]<br> 
 +
{{#if:{{{damage_4|}}}| [[Image:Icon_{{{damage_4}}}.png|100px|{{{damage_4}}} Damage]]<br>
 +
}}}}}}}}
 
|-
 
|-
{{#if:{{{occupation|}}}|
+
{{#if:{{{armour_1|}}}|
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Occupation
+
{{!}} style="font-weight: bold; vertical-align: top; padding:5px;" {{!}} Armour types
{{!}} {{{occupation}}} }}
+
{{!}}  
 +
[[Image:Icon_{{{armour_1}}}.png|100px|Resists {{{armour_1}}} Damage]] <br>
 +
{{#if:{{{armour_2|}}}| [[Image:Icon_{{{armour_2}}}.png|100px|Resists {{{armour_2}}} Damage]] <br>
 +
{{#if:{{{armour_3|}}}| [[Image:Icon_{{{armour_3}}}.png|100px|Resists {{{armour_3}}} Damage]] <br>
 +
{{#if:{{{armour_4|}}}| [[Image:Icon_{{{armour_4}}}.png|100px|Resists {{{armour_4}}} Damage]] <br>
 +
}}}}}}}}
 
|-
 
|-
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Location
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Location
 
{{!}} <div class="npcloc">{{{location|Unknown}}}</div>
 
{{!}} <div class="npcloc">{{{location|Unknown}}}</div>
|-
 
{{#if:{{{status|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Status
 
{{!}} {{{status}}} }}
 
|-
 
{{#if:{{{relatives|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Relatives
 
{{!}} {{{relatives}}} }}
 
|-
 
{{#if:{{{source|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} Found in
 
{{!}} {{{source}}} }}
 
|-
 
{{#if:{{{instance|}}}|
 
{{!}} colspan="2" {{!}}
 
<div class="NavFrame" style="border: none;">
 
<div class="NavHead">[[{{{instance}}}]]</div>
 
<div class="NavContent" style="display:none">
 
{{{{{instance}}}}}
 
</div></div> }}
 
|-
 
{{#if:{{{pet|}}}|
 
{{!}} class="title" colspan="2" {{!}} Pet information }}
 
|-
 
{{#if:{{{pet|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Family
 
{{!}} [[{{{pet}}}]] }}
 
|-
 
{{#if:{{{learns|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Learns
 
{{!}} {{{learns}}} }}
 
|-
 
{{#if:{{{diet|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Diet
 
{{!}} {{{diet}}} }}
 
|-
 
{{#if:{{{skills|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Tamed Skills
 
{{!}} {{{skills}}} }}
 
|-
 
{{#if:{{{balance|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Balance
 
{{!}} {{{balance}}} {{#ifeq:{{FULLPAGENAME}}|Help:Mob articles/Preload||[[Category:{{{balance}}} Pets]]}}}}
 
|-
 
{{#if:{{{hp|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} HP
 
{{!}} {{{hp}}} }}
 
|-
 
{{#if:{{{armor|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} Armor
 
{{!}} {{{armor}}} }}
 
|-
 
{{#if:{{{dps|}}}|
 
{{!}} style="font-weight: bold; vertical-align: top; padding-right: 1em;" {{!}} DPS
 
{{!}} {{{dps}}} }}
 
 
|}</div></onlyinclude>
 
|}</div></onlyinclude>
 +
<includeonly>[[Category:NPC|{{{PAGENAME}}}]]</includeonly>
 +
<noinclude>
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 10:26, 21 July 2008

Npcbox
Race Unknown
Location
Unknown


Template-info.pngTemplate Documentation[edit]

This documentation is transcluded from Template:Npcbox/doc. (edit | history)

Combat 32.png
Warbot
Image of Warbot
Race Mechanical (Mechanical)
Level
80/80 ***
Wealth 5,794 nc
Loot Tech Part
Damage types

x-ray Damage
energy Damage
force Damage
piercing Damage

Armour types

Resists piercing Damage
Resists energy Damage
Resists xray Damage
Resists fire Damage

Location

Use the NPC box to help summarize the vital stats of a particular NPC.

{{npcbox
 | name = Warbot
 | image = Mob_warbot.jpg
 | level = 80/80
 | type = ***
 | faction = combat
 | race = Mechanical
 | health = 20,000
 | money= 5,794 nc
 | creature = Mechanical
 | loot = [[Tech Part]]
 | location = [[Military Base]]
 | damage_1 = x-ray
 | damage_2 = energy
 | damage_3 = force
 | damage_4 = piercing
 | armour_1 = piercing
 | armour_2 = energy
 | armour_3 = xray
 | armour_4 = fire
}}
name
The name of the NPC. Defaults to {{PAGENAME}}.
image
The filename of an image to include (Image will be scaled down to 200px width or 300px height, whichever is greater)
title
The title of the NPC that appears in square brackets below the name, e.g. [Faction Supply Manager]
level
The level of the NPC. Defaults to "??"
type
Number of rank stars
faction
Specify the faction of the NPC or Combat for a mob - Defaults to "Unknown" if left empty.
race
race of the NPC. Defaults to Unknown.
creature
In game classification. (e.g. Humanoid, Mechanical, Insect etc)
gender
The sex of the NPC. Specify "Male" or "Female". Default not shown.
loot
general top loot dropped from the mob (i.e. warbot drops tech parts). Default not shown.
location
The specific subzone or coordinates of the NPC. Braces necessary.
money
The amount of bounty awarded for killing these creatures.
damage_1
The damage type caused by the mob. Default not shown.
damage_2
The damage type caused by the mob. Default not shown.
damage_3
The damage type caused by the mob. Default not shown.
damage_4
The damage type caused by the mob. Default not shown.
armour_1
The damage type resisted by the mob. Default not shown.
armour_2
The damage type resisted by the mob. Default not shown.
armour_3
The damage type resisted by the mob. Default not shown.
armour_4
The damage type resisted by the mob. Default not shown.