Template:Gem table/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "{{documentation subpage}} {{lua|Module:Item2}} __TOC__ ==Overview== This template creates an advanced list for skill gems. ==Usage== In SMW ask queries, specify the fo...")
 
>OmegaK2
Line 54: Line 54:
|
|
|-  
|-  
| level
| [[Property:Has level requirement]]
| the level requirement of the item
|-
| str
| str
| [[Property:Has strength percentage]]
| [[Property:Has strength percentage]]
|
| the [[strength]] requirement of the item
|-  
|-  
| int
| int
| [[Property:Has intelligence percentage]]
| [[Property:Has intelligence percentage]]
|
| the [[intelligence]] requirement of the item
|-  
|-  
| dex
| dex
| [[Property:Has dexterity percentage]]
| [[Property:Has dexterity percentage]]
|
| the [[dexterity]] requirement of the item
|-  
|-  
| description
| description
| [[Property:Has description]]
| [[Property:Has description]]
|
|-
| level
| [[Property:Has level requirement]]
|
|
|-  
|-  

Revision as of 11:07, 14 July 2016

This subpage provides documentation for Template:Gem table.

Lua logo

This template uses the following modules:

Overview

This template creates an advanced list for skill gems.

Usage

In SMW ask queries, specify the following:

 |?Has name
 |?Has inventory icon
 |?Has infobox HTML
 |link=none
 |format=template
 |introtemplate=SMW item table/skill gem/intro
 |template=SMW item table/skill gem
 |outrotemplate=SMW item table/skill gem/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/ul/basic/row
 |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
icon Property:Has support gem letter HTML
skill_icon Property:Has skill gem icon
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
description Property:Has description
mcm Property:Has mana multiplier
vaal Property:Has vaal souls requirement

Property:Has vaal stored uses