Difference between revisions of "Template:Drops list"
Jump to navigation
Jump to search
m |
m |
||
Line 6: | Line 6: | ||
-->{{#ifeq:{{#explode:{{#var:drop}}|,|1}}|true| [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}} | -->{{#ifeq:{{#explode:{{#var:drop}}|,|1}}|true| [[File:Starred Bag.png|20px|This item is guaranteed to drop.|link=]]}} | ||
{{!}} {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|, }}|{{#arraymap:{{#show:{{{1}}}|?Has item type}}|, |@@@|[[@@@]]|, }}}}<!-- | {{!}} {{#if:{{{type|}}}|{{#arraymap:{{{type}}}|, |@@@|[[{{ucfirst:{{lc:@@@}}}}]]|, }}|{{#arraymap:{{#show:{{{1}}}|?Has item type}}|, |@@@|[[@@@]]|, }}}}<!-- | ||
--> | -->{{!}} b | ||
{{!}} b | |||
{{!}} c | {{!}} c | ||
|\n}} | |\n}} |
Revision as of 15:04, 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}}
}