Template:Anomaly drop list: Difference between revisions
From Tears of Themis Wiki
mNo edit summary |
(add format option) |
||
Line 2: | Line 2: | ||
|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={{{format|list}}} | ||
|order by=stageName ASC | |order by=stageName ASC | ||
|delimiter={{{delimiter|,}}} | |delimiter={{{delimiter|,}}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 22:22, 5 February 2023
Description[edit source]
Template for generating a list of anomaly drop stages from a cargo query, with compact or expanded modes.
Usage[edit source]
{{Anomaly drop list|}}
Example[edit source]
{{Anomaly drop list|Vyn "Entrapped"}}
Optional fields[edit source]
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)