Template:Anomaly drop list: Difference between revisions
From Tears of Themis Wiki
(+links) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_query:tables=StageDrop | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#cargo_query:tables=StageDrop | ||
|fields={{#ifeq:{{{compact|}}}|false|CONCAT('[[',stageName,']]'|CONCAT('[[',stageName,'|',SUBSTRING(stageName,15,5),']]')}} | |fields={{#ifeq:{{{compact|}}}|false|CONCAT('[[',stageName,']]')|CONCAT('[[',stageName,'|',SUBSTRING(stageName,15,5),']]')}} | ||
|where=dropItem='{{#replace:{{{1}}}|"|"}}' AND stageName LIKE "Anomaly Level%" | |where=dropItem='{{#replace:{{{1}}}|"|"}}' AND stageName LIKE "Anomaly Level%" | ||
|format=list | |format=list | ||
|order by=stageName ASC | |order by=stageName ASC | ||
}}</includeonly> | }}</includeonly> |
Revision as of 01:47, 10 December 2022
Description
Template for generating a list of anomaly drop stages from a cargo query, with compact or expanded modes.
Usage
{{Anomaly drop list|}}
Example
{{Anomaly drop list|Vyn "Entrapped"}}
Optional fields
The template defaults to compact mode. Set compact=false to expand. This can be useful for e.g. item drop page format. Additionally, set the delimiter field to change the list delimiter to something other than the default comma.
{{Anomaly drop list|Bluetooth Earpiece|compact=false|delimiter=•}}
Anomaly Level 04-12, Anomaly Level 05-09, Anomaly Level 05-16, Anomaly Level 05-23, Anomaly Level 05-29, Anomaly Level 05-33, Anomaly Level 06-09, Anomaly Level 06-12, Anomaly Level 06-23, Anomaly Level 07-12, Anomaly Level 07-16, Anomaly Level 07-20, Anomaly Level 07-24, Anomaly Level 11-11
The above documentation is transcluded from Template:Anomaly drop list/doc. (edit | history)