Template:Item/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
mNo edit summary
Line 14: Line 14:
| <code>Image</code> || File name of the item graphic.
| <code>Image</code> || File name of the item graphic.
|-
|-
| <code>Rarity</code> || The infobox frame to use. Possible values are: <code>Normal</code>, <code>Magic</code>, <code>Rare</code>, <code>Unique</code>, <code>Currency</code>, <code>Quest</code>, and <code>Gem</code>. Defaults to <code>Normal</code>.
| <code>Rarity</code> || The rarity of the item. Only applies to weapons, armour, accessories, flasks, and maps. Possible values are: <code>Normal</code>, <code>Magic</code>, <code>Rare</code>, and <code>Unique</code>. Defaults to <code>Normal</code>.
|-
|-
| <code>Type</code> || The item's type, for formatting purposes. Possible values are: <code>Weapon</code>, <code>Armour</code>, <code>Accessory</code>, <code>Map</code>, and <code>Currency</code>.
| <code>Type</code> || The item's type, for formatting purposes. Possible values are: <code>Weapon</code>, <code>Armour</code>, <code>Accessory</code>, <code>Flask</code>, <code>Map</code>, <code>Currency</code>, and <code>Quest</code>.
|-
|-
| <code>Subtype</code> || The item's sub-type. Possible values are, but not limited to: <code>Axe</code>, <code>Staff</code>, <code>Gloves</code>, <code>Body Armour</code>, and <code>Ring</code>.
| <code>Subtype</code> || The item's sub-type. Possible values are, but not limited to: <code>Axe</code>, <code>Staff</code>, <code>Gloves</code>, <code>Body Armour</code>, and <code>Ring</code>.

Revision as of 22:53, 9 April 2013

Usage

{{Item}} is used on item pages to show the item's infobox. This setup also allows an item pages' data to be transcluded on other pages and formatted in various ways such as in a table.

Parameters

All parameters except for Name are optional. They can be excluded or left blank.

Parameter Description
Name The name of the item
PageName The name of the item's wiki page, if different than Name.
Image File name of the item graphic.
Rarity The rarity of the item. Only applies to weapons, armour, accessories, flasks, and maps. Possible values are: Normal, Magic, Rare, and Unique. Defaults to Normal.
Type The item's type, for formatting purposes. Possible values are: Weapon, Armour, Accessory, Flask, Map, Currency, and Quest.
Subtype The item's sub-type. Possible values are, but not limited to: Axe, Staff, Gloves, Body Armour, and Ring.
BaseItem The base item name, for rares and uniques.
RequiredLevel The item's level requirement.
RequiredStrength The item's strength requirement.
RequiredDexterity The item's dexterity requirement.
RequiredIntelligence The item's intelligence requirement.
PhysicalDamage The weapon's physical damage.
CriticalStrikeChance The weapon's critical strike chance.
AttacksperSecond The weapon's attacks per second.
ElementalDamage The weapon's elemental damage.
Armour The armour's armour value.
Evasion The armour's evasion rating.
EnergyShield The armour's energy shield value.
Block The shield's block chance.
MapLevel The map's level.
ItemQuantity The map's item quantity value modifier.
StackSize The currency item's maximum stack size.
ImplicitMods The item's implicit mods. Separate each mod with a colon (:).
RandomMods The item's random mods. Separate each mod with a colon (:).
Cosmetic The item's cosmetic mods. Separate each mod with a colon (:).
FlavourText The item's flavour text. Line breaks must be manually distinguished with a colon (:).
HelpText The item's help text. Line breaks must be manually distinguished with a colon (:).

Ranges

Ranges occur in weapon damage, implicit mods, random mods and item stats that are effected by mods with ranges.

When using the Item template with ranges please follow these guidelines.

Ranged Implicit and Random Mods
Wrap the range with parenthesis and separate with a hyphen. For example: (50-80)% Increased Armour
Ranged Physical and Elemental Damages
Separate the min and max with a hyphen. For example: 235-368
Ranged Modded Damages
As above however replace each side of the hyphen with (min-max) and wrap physical values in {{mod}}. For example: {{mod|(10-15)-(20-30)}}

Templates

Copy and paste a code template to get started.

Weapon

 
<!-- Please do not add anything above this 
-->{{Item | View={{{View|}}} | Format={{{Format|}}}
| Name                   = Driftwood Wand
| PageName               = 
| Image                  = DriftwoodWand.png
| Rarity                 = Normal
| Type                   = Weapon
| Subtype                = Wand
| RequiredLevel          = 
| RequiredStrength       = 
| RequiredDexterity      = 
| RequiredInteligence    = 
| PhysicalDamage         = 4-7
| CriticalStrikeChance   = 8%
| AttacksperSecond       = 1.3
| ImplicitMods           = (8-12)% increased Spell Damage
}}<noinclude><!-- 
Additional page content should be placed below this line -->



[[Category:Wands]]
</noinclude><!-- Please do not add anything below this -->
  

Armour

 
<!-- Please do not add anything above this
-->{{Item | View={{{View|}}} | Format={{{Format|}}}
| Name                   = Scholar's Robe
| PageName               = 
| Image                  = ScholarsRobe.png
| Rarity                 = Normal
| Type                   = Armour
| Subtype                = Body Armour
| RequiredLevel          = 18
| RequiredStrength       = 
| RequiredDexterity      = 
| RequiredIntelligence   = 55
| Armour                 = 
| Evasion                = 
| EnergyShield           = 41
| ImplicitMods           = 
}}<noinclude><!-- 
Additional page content should be placed below this line -->



[[Category:Body armours]]
</noinclude><!-- Please do not add anything below this -->
  

Unique Amulet

 
<!-- Please do not add anything above this
-->{{Item | View={{{View|}}} | Format={{{Format|}}}
| Name                   = Araku Tiki
| PageName               = 
| Image                  = ArakuTiki.png
| Rarity                 = Unique
| Type                   = Accessory
| Subtype                = Amulet
| RequiredLevel          = 18
| ImplicitMods           = (2.0-4.0) Life Regenerated per second
| RandomMods             = You gain 100 Evasion Rating when on Low Life : +(30-50) to maximum Life : +(20-30)% to Fire Resistance : 1.0% of Life Regenerated per Second while on Low Life
| FlavourText            = It is said to make you invisible when the Great : Spirit comes to take you on your final journey.
}}<noinclude><!-- 
Additional page content should be placed below this line -->



{{Navbox Unique Items}}

[[Category:Unique amulets]]
</noinclude><!-- Please do not add anything below this -->