Latest Neocron News and Information

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

Difference between revisions of "Template:Npcbox"

From Neocron Wiki
Jump to: navigation, search
m
m
 
(33 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%; 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.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;">[[Image:{{#ifeq:{{ucfirst:{{{faction|unknown}}}}}}} 32.png|32px]]</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 39: Line 43:
 
{{#if:{{{damage_2|}}}| [[Image:Icon_{{{damage_2}}}.png|100px|{{{damage_2}}} 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_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:{{{armour_1|}}}|
 
{{#if:{{{armour_1|}}}|
Line 47: Line 52:
 
{{#if:{{{armour_2|}}}| [[Image:Icon_{{{armour_2}}}.png|100px|Resists {{{armour_2}}} 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_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>
 
|}</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.