Difference between revisions of "Template:Drops list"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#ask:[[{{{1|{{#titleparts:{{BASEPAGENAME}}}}}}}]] | <includeonly>{{#if:{{#vardefineecho:drop_data|{{#ask:[[{{{1|{{#titleparts:{{BASEPAGENAME}}}}}}}]]|?Drops|link=none|sep=&&}}|<!-- | ||
|?Drops | -->{{#arraymap:{{#var:drop_data}}|&&|@@@|{{!}}- \n{{!}} @@@ \n{{!}} a \n{{!}} b \n{{!}} c | ||
| link = none | |\n}}<!-- | ||
| sep =&& | -->|No drops found for such creature. | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
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}}
{{#if: