Difference between revisions of "Template:Drops list"
Jump to navigation
Jump to search
m |
m |
||
Line 9: | Line 9: | ||
{{!}} style="text-align:center;" {{!}} {{#explode:{{#var:drop}}|,|3}}{{#ifeq:{{#vardefineecho:max_qty|{{#explode:{{#var:drop}}|,|4}}}}|?||-{{#var:max_qty}}}} | {{!}} style="text-align:center;" {{!}} {{#explode:{{#var:drop}}|,|3}}{{#ifeq:{{#vardefineecho:max_qty|{{#explode:{{#var:drop}}|,|4}}}}|?||-{{#var:max_qty}}}} | ||
{{#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}} | ||
|}<!-- | |}<!-- |
Revision as of 16:31, 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|JustATempPage|show-levels=y}}
}