Difference between revisions of "Template:Drops list"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{#vardefineecho:drop_data|{{#show:{{{1|{{#titleparts:{{BASEPAGENAME}}}}}}}|?Drops|link=none|sep=&&}}|<!-- | <includeonly>{{#if:{{#vardefineecho:drop_data|{{#show:{{{1|{{#titleparts:{{BASEPAGENAME}}}}}}}|?Drops|link=none|sep=&&}}}}|<!-- | ||
-->{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}- \n{{!}} @@@ \n{{!}} a \n{{!}} b \n{{!}} c | -->{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}- \n{{!}} @@@ \n{{!}} a \n{{!}} b \n{{!}} c | ||
|\n}}<!-- | |\n}}<!-- | ||
-->|No drops found for such creature. | -->|No drops found for such creature.}}</includeonly><noinclude> | ||
}}</includeonly><noinclude> | |||
== Usage == | == Usage == |
Revision as of 00:27, 28 September 2018
Usage
Generates a list of drops for a certain creature. {{Drops list result format}}, and uses {{Drops list 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}}
No drops found for such creature.