Template:Query stat related skill gems: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(disable for the time being)
>SirClueless
(Attempt to fix to work with Cargo skill stats)
Line 8: Line 8:
|str=yes
|str=yes
|dex=yes
|dex=yes
}}--></includeonly><noinclude>{{documentation}}</noinclude>
}}-->
 
{{Item table/skill_gems
|q_tables=skill_stats_per_level
|q_join=items._pageID=skill_stats_per_level._pageID
|q_where=items.class={{#ifeq: {{{type|active}}}| active |"Active Skill Gems"|"Support Skill Gems"}} AND skill_stats_per_level.level {{#if: {{{quality|}}}|=0|>0}} AND skill_stats_per_level.id LIKE "{{{stat_id_query|+}}}"
|q_orderBy=items.name
|default=Currently, there are no {{#ifeq: {{{type|active}}}| active |[[active skill gem]]|[[support skill gem]]}}s that have {{#if: {{{quality|}}}|quality&nbsp;|}}[[stat]]s related to [[{{{stat_page}}}]].
|level=yes
|str=yes
|dex=yes
|int=yes
}}
 
</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 14:23, 13 January 2018

Template documentation[view] [edit] [history] [purge]


Overview

This template will perform a query based on Template:Item table with some fields already filled out based on the parameters.

Sub templates

Parameters

Parameter Description Optional
type Type of the stat/gem to query for.

Can be either active or support

stat_id_query Id(s) to query for. This is the portion inside the " " in the Cargo where clause.
where Can be specified alternatively to stat_id_query to provide your own where clause (i.e. for multiple stat ids)
stat_page Wiki page to link against in the intro and default descriptions
quality If set, perform the query for quality stats instead of regular stats

Examples

{{Query stat related skill gems
|type=active
|stat_id_query=%attack_speed%
|stat_page=attack speed
|quality=1
}}

yields:

The following active skill gems have quality stats related to attack speed:


Currently, there are no active skill gems that have quality stats related to attack speed. ru:Шаблон:Query stat related skill gems