Consider helping out in updating the wiki for 3.3.0 - see Path_of_Exile_Wiki:To-do_list/3.3.0

Various people have reported issues with the ads on here. Make sure to report those advertisements

Template:Item table

From Path of Exile Wiki
Jump to: navigation, search
[view] [edit] [history] [purge] Documentation icon Template documentation

Overview

This template creates an advanced list for modifiers based on performing an cargo query.

Specialized Templates

There are also specialized sub templates for the following item types available:

Query Templates

There are also several query templates based on this template in order to reduce query duplication:

Parameters

Main Parameters

Parameter Value Description Required
conditions str The ask query string to use. Only the query string is required here, the properties that will be selected and well as any other parameters normally found on an ask query are added by the item module.

For info on how to write queries, consult Semantic MediaWiki, in particular Help:Selecting pages.

yes
default str If specified, the value of this will be returned of there are no results for the specified query.
no
large bool Whether to show large inventory icons

Default: No

no
q_<param> N/A It is possible to add any parameters of the cargo query (field names) by prefixing them with q_.

Specifying at least q_where and q_limit is highly recommended. q_limit is restricted to a maximum of 300.

Additional tables can be specified using q_tables.

no

Display control parameters

All these parameters are binary, so as long you specify something like icon=1 it will show up. If something is not available on the item you're fetching it will show up as "N/A"

Parameter Description Local
no_html Don't show HTML infoboxes on hover.

Advisable to enable this on very large lists, as it makes the resulting table much smaller. In particular if the page hits the wiki limits for size.

no
base_item Shows the base item (i.e. of an unique item)
no
class Show the item class
no
essence Shows the essence tier
no
drop_level Shows the drop level of the item
no
stack_size Show the maximum stack size (not in currency tab)
no
stack_size_currency_tab Show the maximum stack size in the currency tab
no
level the level requirement of the item
yes
str the strength requirement of the item
yes
int the intelligence requirement of the item
yes
dex the dexterity requirement of the item
yes
ar Shows how much armour the item provides
yes
ev Shows how much evasion the item provides
yes
es Shows how much energy shield the item provides
yes
block Shows how much block the item provides
yes
damage Shows the damage values of a weapon. This includes any added elemental or chaos damage in the appropriate colour(s).
yes
aps Shows the attacks per second value of a weapon.
yes
crit Shows the local critical strike chance of a weapon.
yes
flask_life Shows how much life the flask recovers per use
yes
flask_mana Shows how much mana the flask recovers per use
yes
flask Shows various generic flask properties:
  • Duration of the flask
  • How many flask charges are consumed per single use
  • Maximum number of flask charges held
yes
buff Shows the effect of the buffs granted by the item (generally applicable to Utility Flasks)
no
physical_dps Shows physical damage per second
yes
fire_dps Shows fire damage per second
yes
cold_dps Shows cold damage per second
yes
lightning_dps Shows lightning damage per second
yes
chaos_dps Shows chaos damage per second
yes
elemental_dps Shows the combined elemental damage per second (i.e. fire damage, cold damage and lightning damage)
yes
poison_dps Shows the combined damage that can apply to poison (i.e. physical damage and chaos damage)
yes
dps Shows the total combined damage per second (i.e. physical damage, fire damage, cold damage, lightning damage and chaos damage)
yes
stat the complete stat text of the item (both implicit and explicit stats derived from mods) in a single column
no
item_limit Shows the item limit of an item
no
jewel_radius Show the radius of a jewel
yes
map_tier Show the map tier
yes
map_level Show the map level
yes
map_guild_character Show the character a map produces for a guild tag
no
master_level_requirement Shows the required level of the forsaken master in order to purchase the doodad
no
master Shows the forsaken master name where the doodad can be purchased at
no
master_favour_cost Shows the how much favour the doodad costs when purchased at a forsaken master
no
variations Shows the number of possible variations of the doodad
no
description Shows the description text of the item
no
flavour_text Shows the flavour text of the item
no
help_text Shows the help_text of the item
no
objective Shows the objective section from a prophecy page crated with {{Prophecy description}}
no
reward Shows the reward section from a prophecy page crated with {{Prophecy description}}
no
seal_cost Shows the seal cost of a prophecy
no
prediction_text Shows the prediction text of a prophecy
no
buff_icon Shows the buff icon associated with the item's buff
no
drop_enabled Shows whether the item is considered drop_enabled and can be normally obtained
no
drop_leagues Shows which leagues the item can be obtained in
no
drop_areas Shows which areas the item can be obtained in
no
drop_text Shows drop restriction information that doesn't fit into other categories
no

Multi-option parameters

These parameters will active multiple options at once. They should be used for "default" lists, as additional variables may be added over time:

Parameter Description Parameters activated
weapon Show weapon information damage

aps

crit

prophecy Show prophecy information prediction_text

seal_cost

drop Show information related on how an item is obtained. drop_level

drop_enabled

drop_leagues

drop_areas

drop_text

doodad Enables all options relevant to hideout doodads master_level_requirement

master

master_favour_cost

variation_count

Stat parameters

It is possible to directly query any stats on the item. The stats are an aggregate from all modifiers on the item (this means it will include implicit values).

Queried stats are sorted into columns, and a column can hold any arbitrary number of stats (but at least one) and there can be any number of columns.

The columns will be sorted by the average value of the stat. If multiple stats are specified for a single column, this is the average of all individual stat averages.

The following prefixes are used:

  • Columns: stat_column<i>_
  • Stat: stat<j>_

<i> and <j> need to be replaced with the number starting at 1.

Parameter Value Description Required
stat_column<i>_header str Header to use in table for the stat.

If left empty, the id of stat will be used

no
stat_column<i>_format str Lua string.format specifier. Note that the number of formatter must match the number of stats for the specific column or an error will be raised.

If left empty, all result will simply be shown in a comma-separated list.

no
stat_column<i>_stat_format str Acceptable values:
  • separate - separate entries using comma separation for the specified format
  • add - add up all the acceptable stats into a single value; uses 0 if not available
no
stat_column<i>_order int Ordering priority for showing this column.

Defaults to a very high value.

no
stat_column<i>_stat<j>_id str Identifier of the stat.

If you are not sure what this is, consider checking the sub objects created on items - it will be stored in Property:Has stat id

yes

Examples

Show item limit

{{Item table
|q_where=items._pageName="Self-Flagellation"
|large=1
|stat=1
|item_limit=1
}}

Yields:

ItemLimitStats
Self-Flagellation
Self-Flagellation
Viridian Jewel
Limited to: 1(10-20)% increased Damage per Curse on you
You can have one additional Curse
Corrupted
Beg for forgiveness.Place into an allocated Jewel Socket on the Passive Skill Tree. Right click to remove from the Socket.
1(10-20)% increased Damage per Curse on you
You can have one additional Curse
Corrupted

Show possible "Maximum Life" rolls on unique items with at least +100 life

{{Item table
|q_tables=item_stats
|q_join=items._pageID=item_stats._pageID
|q_where=items.rarity="Unique" AND item_stats.id="base_maximum_life" AND item_stats.min > 100
|large=1
|level=1
|stat=1
|stat_column1_header=Life
|stat_column1_format=+%s to maximum Life
|stat_column1_stat1_id=base_maximum_life
}}

Yields:

ItemLvl.StatsLife
Kaom's Heart
Kaom's Heart
Glorious Plate
Quality: +20%
Armour: 931
Requires Level 68, 191 StrHas no Sockets
+500 to maximum Life
(20-40)% increased Fire Damage
The warrior who
fears will fall.
68Has no Sockets
+500 to maximum Life
(20-40)% increased Fire Damage
+500 to maximum Life
Lioneye's Remorse
Lioneye's Remorse
Pinnacle Tower Shield
Quality: +20%
Chance to Block: 30%
Armour: (1494-1727)
Requires Level 70, 159 Str3% reduced Movement Speed (Hidden)
+(20-30) to maximum Life
(200-250)% increased Armour
20% increased Stun and Block Recovery
+(160-180) to maximum Life
5% reduced Movement Speed
-25 Physical Damage taken from Projectile Attacks
+5% Chance to Block
Marceus' unblemished shield is a testament
to his arrogance... and his fate.
703% reduced Movement Speed (Hidden)
+(20-30) to maximum Life(200-250)% increased Armour
20% increased Stun and Block Recovery
+(160-180) to maximum Life
5% reduced Movement Speed
-25 Physical Damage taken from Projectile Attacks
+5% Chance to Block
+(180-210) to maximum Life
The Bringer of Rain
The Bringer of Rain
Nightmare Bascinet
Quality: +20%
Armour: (518-680)
Evasion: (745-978)
Requires Level 67, 62 Str, 85 DexSocketed Gems are Supported by Level 18 Melee Physical Damage
Socketed Gems are Supported by Level 12 Faster Attacks
Socketed Gems are supported by Level 6 Blind
Adds 20 to 30 Physical Damage to Attacks
(200-300)% increased Armour and Evasion
+(120-160) to maximum Life
20% chance to gain an Endurance Charge when you Block
Extra gore
Can't use Chest armour
6% Chance to Block
"What lies beneath your feet?!"
"Sacred ground, watered with tears of blood!"
67Socketed Gems are Supported by Level 18 Melee Physical Damage
Socketed Gems are Supported by Level 12 Faster Attacks
Socketed Gems are supported by Level 6 Blind
Adds 20 to 30 Physical Damage to Attacks
(200-300)% increased Armour and Evasion
+(120-160) to maximum Life
20% chance to gain an Endurance Charge when you Block
Extra gore
Can't use Chest armour
6% Chance to Block
+(120-160) to maximum Life
Kaom's Roots
Kaom's Roots
Titan Greaves
Quality: +20%
Armour: 289
Requires Level 68, 120 StrHas no Sockets
Cannot be Knocked Back
+(150-200) to maximum Life
You cannot be slowed to below base speed
Unwavering Stance
Don't flinch. It's a waste of good hitting time.
68Has no Sockets
Cannot be Knocked Back
+(150-200) to maximum Life
You cannot be slowed to below base speed
Unwavering Stance
+(150-200) to maximum Life
The Rat Cage
The Rat Cage
Sharkskin Tunic
Quality: +20%
Evasion: (1229-1341)
Requires Level 56, 152 Dex3% reduced Movement Speed (Hidden)(100-120)% increased Evasion Rating
+(160-200) to maximum Life
-50% to Fire Resistance
15% increased Movement Speed
20% increased Fire Damage taken
10% of Fire Damage from Hits taken as Physical Damage
The truth lies inside every man, if you dig around.
Many a confession was found in the bowels of Axiom.
563% reduced Movement Speed (Hidden)(100-120)% increased Evasion Rating
+(160-200) to maximum Life
-50% to Fire Resistance
15% increased Movement Speed
20% increased Fire Damage taken
10% of Fire Damage from Hits taken as Physical Damage
+(160-200) to maximum Life
Gruthkul's Pelt
Gruthkul's Pelt
Wyrmscale Doublet
Quality: +20%
Armour: 252
Evasion: 252
Requires Level 38, 57 Str, 57 Dex3% reduced Movement Speed (Hidden)(60-100)% increased Global Physical Damage
+(130-160) to maximum Life
+(20-40)% to Cold Resistance
2% of Life Regenerated per second
15% increased Character Size
Spell Skills deal no Damage
Your Spells are disabled
Simple is the life of the bear.
383% reduced Movement Speed (Hidden)(60-100)% increased Global Physical Damage
+(130-160) to maximum Life
+(20-40)% to Cold Resistance
2% of Life Regenerated per second
15% increased Character Size
Spell Skills deal no Damage
Your Spells are disabled
+(130-160) to maximum Life
The above documentation is transcluded from Template:Item table/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.