Pillars of Eternity Wiki
m (→‎top: clean up, replaced: {{Documentation}} → {{doc}})
No edit summary
Line 23: Line 23:
 
-->
 
-->
 
{{Infobox2
 
{{Infobox2
|above = [[has name::{{{name|{{Pagename nd}}}}}]] {{#set:First appeared in={{#switch: {{{added in|}}} |base=Pillars of Eternity |wm1=Pillars of Eternity: The White March - Part I |wm2=Pillars of Eternity: The White March - Part II |Pillars of Eternity}}}}{{#ifeq:{{{added in|}}} | wm1 | {{wm1}} | }}{{#ifeq:{{{added in|}}} | wm2 | {{wm2}} | }}
+
|above = [[has name::{{{name|{{Pagename nd}}}}}]] {{#set:First appeared in={{#switch: {{{added in|}}} |base=Pillars of Eternity |wm1=Pillars of Eternity: The White March - Part I |wm2=Pillars of Eternity: The White March - Part II |dp=Pillars of Eternity: Deadfire Pack |Pillars of Eternity}}}}{{#ifeq:{{{added in|}}} | wm1 | {{wm1}} | }}{{#ifeq:{{{added in|}}} | wm2 | {{wm2}} | }}{{#ifeq:{{{added in|}}} | dp | {{dp}} | }}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|imagesize = {{{imagesize|center}}}
 
|imagesize = {{{imagesize|center}}}

Revision as of 11:33, 8 December 2017

Icon-outdated
This article or section contains information that is out-of-date. Please replace the old information with up-to-date information.

Reason: "DEPRECATED: Please use {{Infobox item}}, {{Infobox armor}}, {{Infobox shield}} or {{Infobox weapon}} instead."

This infobox is designed to be used on all item pages. It also handles (most) categorization of items automatically and adds values that are the same for all items of this type if no value is given.

Syntax

has name::Fine Battle axe {{#set:First appeared in=Pillars of Eternity}}
General
Type
has item type::battle axe
Equipment slot Weapon
Value has value::200cp
Battle axe
Combat Type Template:Set and print
Range Template:Set and print
Handing Template:Set and print
Attack Speed Template:Set and print
Interrupt Template:Set and print
Damage Type Template:Set and print
Damage Template:Set and print{{#set:Has damage for sorting=28}}
Bonuses Template:Set and print
Other
Unique {{#set: is unique=no}}
Soulbound {{#set: is soulbound=no}}
Talents Weapon Focus Knight
Abilities Weapon Specialization Knight
Used in
Enchanting recipes All weapon enchantments
{{item infobox 
|name    = 
|image   =
|added in =
|caption=
|type=
|equipment slot=
|unique=
|soulbound=
|value=
|speed=
|interrupt=
|damage=
|enchantments=
|bonuses=
|crafting recipes=
|enchanting recipes=
|requirements=
|skill=
|talent=
|quest=
|other uses=
|internalname=
}}

Parameters

name
Optional. Defaults to page name.
added in
Optional. Game in which the item was introduced. Will automatically set Property:First appeared in accordingly. Allowed values are base, wm1 or wm2. Defaults to base.
image
Optional. The name of the file. Should include the extension (i.e. Edair.png instead of Edair).
type
Optional. type of the item.
equipment slot
equipment slot the item uses. Weapons uses the equipment slot weapon and shield the slot shield. none if the item is unequipable.
value
Optional. Value of the item.
stack
Optional. Maximum number the item can be stacked. defaults to the standard value of this item type.
enchantments
Optional. Only for equipment. Lists enchantments of the item. Should be in list format (*) or left empty, if no enchantments are added to item. Will automatically set Property:has enchantment for each enchantment-value. Do NOT set for Soulbound items – use Template:Soulbound upgrades to automatically set all needed properties and print nice table.
bonuses
Optional. Only for equipment. Lists bonuses of the item. Should be in list format (*) or left empty, if no bonuses are added to item. Will automatically set Property:has bonus for each bonus-value. Do NOT set weapon type bonus for weapons with this field—these are added automatically by template. To distinguish bonuses from enchantments, please see Property:has bonus page.
native bonuses
Optional. Can be used to suppress default item type bonuses if set to no. Currently only used to turn off Weapon type bonus.
requirements
the requirements to use this item.
skill
the skill that influences this item if any.
talent
the talent that enhances this item if any.
other uses
Other uses for this item, except quest or crafting uses. e.g. if this item can be used in scripted interactions or dialogs.
internalname
Required. Internal game item code. Used for modding or cheating.

For weapons, shields and armor

unique
Optional. Whether the item is unique. Allowed values are yes or no. Defaults to no.
soulbound
Optional. Whether the item is soulbound. Allowed values are yes or no. Defaults to no.
speed
Optional. Only use it if it changes, otherwise will be auto-computed. Value should be one of Fast, Average, Slow, Very slow or Extremely Slow (for weapons) or number less than 1.0 representing speed malus (for armors).
interrupt
Optional. Only for weapons. Only use it if it changes, otherwise will be auto-computed. Value should be one of 0.05 sec (Weakest), 0.35 sec (Weak), 0.5 sec (Average), 0.75 sec (Strong) or 1.0 sec (Stronger).
projectiles
Optional. Number of weapon projectiles. Only for ranged weapons. Only use it if it changes, otherwise will be auto-computed from weapon type.
damage type
Optional. Only for weapons to set different damage type. Only use it if it changes, otherwise will be auto-computed from weapon type.
damage
Required. Only for weapons. Damage of a weapon.
deflection
Optional. Deflection of a shield. Only use it if it changes, otherwise will be auto-computed from shield type.
dt
Optional. Modification of default armor DR. Needs to be in numerical +/-VALUE format.

For consumables, ingredients or quest items

effect
Optional. only for consumables. effect of the consumable.
duration
Optional. Only for consumables. duration of the consumable.
quest
quest the item is needed for.
crafting recipes
Optional. The crafting items that can be created using this item.
enchanting recipes
Optional. The enchantment(s) the item is needed for.

For grimoires

spell1
Comma-separated list of the names of the first-level spells in the grimoire, e.g. Arkemyr's Dazzling Lights, Fan of Flames, Kalakoth's Sunless Grasp, Minoletta's Minor Missiles.
spell2 ... spell8
same for the other spell levels