Template:Query spawnable modifiers: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "<includeonly>{{Modifier table |q_tables=spawn_weights{{#if: {{{tables}}}|,{{{tables}}}|}} |q_join=mods._pageID=spawn_weights._pageID{{#if: {{{join}}}|,{{{join}}}|}} |q_where=...")
 
>OmegaK2
No edit summary
Line 1: Line 1:
<includeonly>{{Modifier table
<includeonly>{{Modifier table
|q_tables=spawn_weights{{#if: {{{tables}}}|,{{{tables}}}|}}
|q_tables=spawn_weights{{#if: {{{tables|}}}|,{{{tables|}}}|}}
|q_join=mods._pageID=spawn_weights._pageID{{#if: {{{join}}}|,{{{join}}}|}}
|q_join=mods._pageID=spawn_weights._pageID{{#if: {{{join|}}}|,{{{join|}}}|}}
|q_where=
|q_where=
     spawn_weights.weight > 0
     spawn_weights.weight > 0
     {{#if: {{{where}}}| AND {{{where}}}|}}
     {{#if: {{{where|}}}| AND {{{where|}}}|}}


|stat_text=1
|stat_text=1
|level=1
|level=1
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 09:15, 28 January 2018

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


Lua logo

This template uses the following modules:

Overview

This template queries for modifiers based on {{modifier table}}. It excludes mods that can not spawn by default.

Parameters

Parameters that can be specified in addition to the default {{modifier table}} parameters.

Parameter Value Description
tables str Any extra tables. This should be used instead of q_tables to avoid overriding the defaults from this template.

By default the spawn_weights and mod_stats tables are queried and joined.

join str any extra joins. This should be used instead of q_join to avoid overriding the defaults from this template

By default the spawn_weights and mod_stats tables are queried and joined.

where str Any extra conditions. This should be used instead of q_where to avoid overriding the defaults from this template.