Template:Drop enabled unique item table: Difference between revisions
Jump to navigation
Jump to search
Iamacyborg (talk | contribs) mNo edit summary |
(Add maintenance category for incorrect usage.) |
||
Line 4: | Line 4: | ||
|q_where=items.rarity_id = "unique" AND items.drop_enabled = true AND (items.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}}) {{#if: {{{where|}}}|AND ({{{where|}}})|}} | |q_where=items.rarity_id = "unique" AND items.drop_enabled = true AND (items.release_version IS NULL OR items.release_version IS NOT NULL AND versions.release_date < {{CURRENTTIMESTAMP}}) {{#if: {{{where|}}}|AND ({{{where|}}})|}} | ||
|q_orderBy={{{orderby|items.required_level_range_maximum}}},items.name | |q_orderBy={{{orderby|items.required_level_range_maximum}}},items.name | ||
}}</includeonly><noinclude> | }}{{#if:{{{q_tables|}}}{{{q_join|}}}{{{q_where|}}}{{{q_orderBy|}}}|[[Category:Pages incorrectly using unique item table template]]}}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:00, 10 April 2024
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 | Extra tables |
join | str | Extra joins |
where | str | Extra conditions |
orderby | str | Can be used to specify the primary field to order the results by. Default: items.required_level_range_maximum .
|
See also
Template | Purpose |
---|---|
{{Item table}} | Query and display a table of items |
{{Drop enabled item table}} | Query and display a table of drop-enabled items |
{{Drop disabled item table}} | Query and display a table of drop-disabled items |
{{Drop enabled base item table}} | Query and display a table of drop-enabled base items |
{{Drop disabled base item table}} | Query and display a table of drop-disabled base items |
{{Drop enabled unique item table}} | Query and display a table of drop-enabled unique items |
{{Drop disabled unique item table}} | Query and display a table of drop-disabled unique items |
{{Gem table}} | Query and display a table of gems |
{{Drop enabled gem table}} | Query and display a table of drop enabled gems |
The above documentation is transcluded from Template:Drop enabled unique item table/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.