Difference between revisions of "Template:Drops list"
Jump to navigation
Jump to search
m |
m |
||
Line 11: | Line 11: | ||
{{#if:{{{show-levels|}}}|<!-- | {{#if:{{{show-levels|}}}|<!-- | ||
-->{{!}} {{#explode:{{#var:drop}}|,|5}}{{#ifeq:{{#vardefineecho:max_level|{{#explode:{{#var:drop}}|,|6}}}}|?||-{{#var:max_level}}}}}} | -->{{!}} {{#explode:{{#var:drop}}|,|5}}{{#ifeq:{{#vardefineecho:max_level|{{#explode:{{#var:drop}}|,|6}}}}|?||-{{#var:max_level}}}}}} | ||
|\n}} | |\n}} | ||
{{!}}}<!-- | |||
-->|No drops found for such creature.}}</includeonly><noinclude> | -->|No drops found for such creature.}}</includeonly><noinclude> | ||
<!-- Has item drop, Is fixed, Has fate requirement, Has minimum quantity output, Has maximum quantity output, Has minimum creature level, Has maximum creature level --> | <!-- Has item drop, Is fixed, Has fate requirement, Has minimum quantity output, Has maximum quantity output, Has minimum creature level, Has maximum creature level --> |
Revision as of 16:39, 28 September 2018
Usage
Generates a list of drops for a certain creature. Uses {{Drops table header}} for header.
{{Drops list}} {{Drops list|show-levels=}}
Parameters
- Unnamed parameter 1
- Query term. Defaults to
{{PAGENAME}}
. - show-levels
- Optional. Adds a column header for Creature level. Default is hidden if there is only one level for the creature.
Examples
{{Drops list|Hedetet}}
No drops found for such creature.
{{Drops list|JustATempPage|show-levels=y}}
No drops found for such creature.