Template:Query atlas maps: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
>OmegaK2
No edit summary
Line 6: Line 6:
  AND items.drop_enabled = true  
  AND items.drop_enabled = true  
  AND (items.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}})
  AND (items.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}})
  AND atlas_maps.region_id = "{{#cargo_query: |tables=atlas_regions|fields=id|where=name="{{region_name|{{PAGENAME}}}}}"|no html}}"
  AND atlas_maps.region_id = "{{#cargo_query: |tables=atlas_regions|fields=id|where=name="{{{region_name|{{PAGENAME}}}}}"|no html}}"
  {{#if: {{{where|}}}|AND ({{{where|}}})|}}  
  {{#if: {{{where|}}}|AND ({{{where|}}})|}}  
|q_orderBy={{{q_orderBy|maps.tier}}}
|q_orderBy={{{q_orderBy|maps.tier}}}

Revision as of 21:19, 28 December 2019

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


Lua logo

This template uses the following modules:

Overview

This template queries for maps present on the atlas in a specific region.

For more information, see Template:Item table.

Parameters

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

Parameter Value Description
region_name str Name of the atlas region. Defaults to the name of current page if not specified.
tables str Any extra tables. This should be used instead of q_tables to avoid overriding the defaults from this template.
where str Any extra conditions. This should be used instead of q_where to avoid overriding the defaults from this template.
join str any extra joins. This should be used instead of q_join to avoid overriding the defaults from this template.