Template:Query atlas maps: Difference between revisions
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
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.
|
The above documentation is transcluded from Template:Query atlas maps/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.