Template:Gem table/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
>OmegaK2
No edit summary
Line 6: Line 6:


This template creates an advanced list for [[skill gem]]s.
This template creates an advanced list for [[skill gem]]s.
==Usage==
In SMW ask queries, specify the following:
<pre>
|?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
</pre>
Each of the name, inventory icon or HTML parameters can be omitted to build a shorted listed. For instance:
<pre>
|?Has name
|link=none
|format=template
|template=SMW item table/ul/basic/row
|named args=yes
</pre>
Will only produce a link against the pages without the infobox and icon.


==Parameters==
==Parameters==
{{userparam info}}
===Main parameters===
 
{{#lst:Template:SMW item table/doc|main parameters}}
All these parameters are binary, so as long you specify something like <code>icon=yes</code> it will show up.
===Display control parameters===


It is also '''required''' to specify the applicable properties in the query or it will show up as <code>N/A</code>
All these parameters are binary, so as long you specify something like <code>icon=1</code> it will show up. If something is not available on the item you're fetching it will show up as "N/A"


{| class="wikitable sortable"
{| class="wikitable sortable"

Revision as of 04:26, 22 February 2017

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.

Parameters

Main parameters

Template:SMW item table/doc

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 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