Template:Modifier table/doc
Jump to navigation
Jump to search
This subpage provides documentation for Template:Modifier table.
Overview
This template creates an advanced list for modifiers based on performing an cargo query.
Parameters
Main Parameters
Parameter | Value | Description | Required |
---|---|---|---|
default | str | If specified, the value of this will be returned of there are no results for the specified query. | ✗
|
type | str | Values:
maps - if set to this value, IIQ/IIR/Pack size will be removed and shown in separate columns |
✗
|
q_<param> | N/A | It is possible to add any parameters of the cargo query (field names) by prefixing them with q_ .
Specifying at least q_where and q_limit is highly recommended. |
✗
|
Display control parameters
All these parameters are binary, so as long you specify something like icon=1
it will show up. If something is not available on the item you're fetching it will show up as "N/A"
Parameter | Description |
---|---|
domain | |
generation_type | |
group | |
type | |
level | |
stat_text | |
buff | |
skill | |
tags | |
spawn_weight | |
generation_weight |
Multi-option parameters
These parameters will active multiple options at once. They should be used for "default" lists, as additional variables may be added over time:
Parameter | Description | Parameters activated |
---|
Examples
Using other tables using join
{{Modifier table |type=map |q_tables=spawn_weights |q_join=mods._pageID=spawn_weights._pageID |q_where=mods.domain=5 AND spawn_weights.weight > 0 |q_limit=5 |stat_text=1 |spawn_weights=1 }}
Selects the first 5 modifier page in the "Map" domain with a weight above 0.
No results found