Template:Infobox npc

From 7 Days to Die Wiki
Jump to: navigation, search
Quest icon.png   Changes to this template will affect several other pages.

Please be careful when modifying this template.

This template modifies 63 pages.


Infobox npc
No image yet


Description
Removed: {{{removed_version}}}
Category
Type
Zombie Type
Entity-ID
Effects
Drops
Loot Container
Location
Quests


Combat
HP (Normal)
HP (Feral)
HP (Radiated)
HP (Legendary)
Entity Damage
Block Damage
Range
Crit Ratio





Template-badinfo.png Documentation
This template's documentation has been marked as bad. Please improve or add to it.


This template generates an infobox for npcs including Zombies and Animals. The Infobox provides a summary of features associated with a given npc. It is intended to organize the information consistently across all npcs and provide a quick reference-point for pertinent information about the npc.

Formatting and ordering of information is largely done by the template with a few exceptions noted below (sizing images, adding links, etc).

Information is passed to the template in the form of parameters and values that are designated as such: |parameter = value. Parameters containing no value or only whitespace will be ignored and not included in the infobox.

Boolean Values[edit source]

Parameters that expect boolean values such as true or false allow for some variation in terminology as in the following:

1, y, yes, t, true = TRUE
0, n, no, f, false = FALSE

For more information, see the documentation for Template:Validate_bool

Syntax[edit source]

Basic syntax:

{{Infobox item
| name = {{PAGENAME}}
| parameter  = value
| parameter  = value
| parameter  = value
}}

Usage[edit source]

Use the following to easily create new infoboxes. Cut and paste the code then replace the values as appropriate.

Complete[edit source]

Complete
{{Infobox npc
|name = 
|image = 
|image_alt = 
|size = 
|caption  = 
|category = 
|type = Friendly|Neutral|Hostile
|drops = 
|location = 
|quests = y/n
|effects = 
|damage = 
|block_damage =
|range = 
|critratio = 
|added_version =
|removed_version =
|updated_version =
|confirmed_version =
|npcsystem = Standard|UMA
|}}

Short Forms[edit source]

Animal[edit source]

Animal
{{Infobox npc
|name = 
|image = 
|image_alt = 
|size = 
|caption  = 
|category = Animal
|type = Neutral|Hostile
|drops = 
|damage = 
|block_damage =
|location = 
|added_version =
|removed_version =
|updated_version =
|confirmed_version =
|}}

Zombie[edit source]

Zombie
{{Infobox npc
|name = 
|image = 
|image_alt = 
|size = 
|caption  = 
|category = Zombie
|type = Hostile
|zombie_types = Normal, Feral, Radiated, Feral and Radiated
|drops = 
|location = 
|effects = 
|damage =
|block_damage = 
|range = 
|critratio = 
|added_version =
|removed_version =
|updated_version =
|confirmed_version =
|}}

Raider[edit source]

Raider
{{Infobox npc
|name = 
|image = 
|image_alt = 
|size = 
|caption  = 
|category = Raider
|type = Hostile
|drops = 
|location = 
|effects = 
|damage = 
|block_damage =
|range = 
|critratio = 
|added_version =
|removed_version =
|updated_version =
|confirmed_version =
|}}

Friendly[edit source]

Friendly
{{Infobox npc
|name = 
|image = 
|image_alt = 
|size = 
|caption  = 
|category = Friendly
|type = Friendly
|drops = 
|location = 
|quests = y/n
|added_version =
|removed_version =
|updated_version =
|confirmed_version =
|}}

Parameters[edit source]

Parameter Legal Values Description Auto-categorizes
name <String> Name of the NPC N
image <String> Main image of the item N
image_alt <String> First alternate Image of the item N
size N
caption <String> Caption for the main image N
category Zombie, Raider, Animal, Friendly The wiki category in which to place the item. This includes if the NPC is a Zombies, Raider, or Animal Y
type Friendly, Neutral, or Hostile Defines how the NPC acts towards player characters. Y
zombie_types Normal, Feral, Radiated, Feral and Radiated Zombies can be one of four types. A particular zombie can have a number of different types as defined here, i.e. a Wight zombie can come in "Feral" and "Feral and Radiated" types. If no type is given, then it is assumed that they only come as a Normal zombie type. Y
drops <Strings> What items the NPC is potentially going to drop. N
location <String> Where the NPC is found in the World, what biomes or buildings it is likely to hang out in. N
quests Y, N If the NPC gives quests N
effects
damage <Numeric> Damage that the entity does to another entity.
block_damage <Numeric> Damage that the entity does to block.
range <Numeric>
critratio
added_version <Version String> The version of 7D2D that the NPC was added.
Note: This can not be a link.
Y
removed_version <Version String> The version of 7D2D that the NPC was removed.
Note: This can not be a link.
Y
updated_version <Version String> [, <Version String> ...] A comma separated list of versions that the npc has been updated.
Note: These can not be links.
Y
confirmed_version <Version String> Version that the NPC has been comfirmed to be working. Should only be updated to the latest version when the details have been confirmed to be correct.
Note: These can not be links.
Y
npcsystem Standard, UMA The system that 7D2D uses for its NPCs. There are 2 types at the moment Standard and UMA. N