Template:Item table/doc

From Path of Exile Wiki
Revision as of 11:06, 14 July 2016 by >OmegaK2 (Created page with "{{documentation subpage}} {{lua|Module:Item2}} __TOC__ ==Overview== This template creates an advanced list for items and is intended to be used in SMW queries. ===Speci...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This subpage provides documentation for Template:Item table.

Lua logo

This template uses the following modules:

Overview

This template creates an advanced list for items and is intended to be used in SMW queries.

Specialized Templates

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

Usage

In SMW ask queries, specify the following:

 |?Has name
 |?Has inventory icon
 |?Has infobox HTML
 |link=none
 |format=template
 |introtemplate=SMW item table/intro
 |template=SMW item table
 |outrotemplate=SMW item table/outro
 |named args=yes

Each of the name, inventory icon or HTML parameters can be omitted to build a shorted listed. For instance:

 |?Has name
 |link=none
 |format=template
 |template=SMW item table
 |named args=yes

Will only produce a link against the pages without the infobox and icon.

Parameters

Template:Userparam info

All these parameters are binary, so as long you specify something like icon=yes it will show up.

It is also required to specify the applicable properties in the query or it will show up as N/A

Parameter Corresponding
Properties
Description
level Property:Has level requirement the level requirement of the item
str Property:Has strength percentage the strength requirement of the item
int Property:Has intelligence percentage the intelligence requirement of the item
dex Property:Has dexterity percentage the dexterity requirement of the item
stat Property:Has stat text the complete stat text of the item (both implicit and explicit stats derived from mods) in a single column