Template:Drop enabled unique item table/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 No edit summary |
(category) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{ | |||
{{Lua|Module:Item table}} | |||
==Overview== | ==Overview== | ||
This template queries for unique items based on a item class. | This template queries for unique items based on a item class. | ||
{{for|more information|Template: | {{for|more information|Template:Item table}} | ||
== | ==Parameters== | ||
Parameters that can be specified in addition to the default {{tlx|item table}} parameters. | |||
Parameters that can be specified in addition to the default item table parameters. | |||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 16: | Line 16: | ||
! Description | ! Description | ||
|- | |- | ||
| | | tables | ||
| str | |||
| Any extra tables. This should be used instead of <code>q_tables</code> to avoid overriding the defaults from this template. | |||
|- | |||
| join | |||
| str | |||
| Any extra joins. This should be used instead of <code>q_join</code> to avoid overriding the defaults from this template. | |||
|- | |||
| where | |||
| str | | str | ||
| Any extra conditions. This should be used instead of <code> | | Any extra conditions. This should be used instead of <code>q_where</code> to avoid overriding the defaults from this template. | ||
|- | |- | ||
| | | orderby | ||
| str | | str | ||
| | | Can be used to specify the primary field to order the results by. Default: <code>items.required_level_range_maximum</code>. This will have no effect if <code>q_orderBy</code> is used. | ||
|} | |} | ||
< | {{Documentation categories| | ||
[[Category: | <!-- Categories and interwikis go here. --> | ||
[[Category:Item table templates]] | |||
[[Category:Query templates]] | |||
[[ru:Шаблон:Query unique items]] | |||
}} |
Revision as of 21:59, 30 April 2024
This subpage provides documentation for Template:Drop enabled unique item table.
Overview
This template queries for unique items based on a item class.
For more information, see Template:Item table.
Parameters
Parameters that can be specified in addition to the default {{item 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.
|
join | str | Any extra joins. This should be used instead of q_join 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.
|
orderby | str | Can be used to specify the primary field to order the results by. Default: items.required_level_range_maximum . This will have no effect if q_orderBy is used.
|