Template:Drop sources/doc

From RuneRealm Wiki
Jump to navigation Jump to search
This is a documentation subpage for Template:Drop sources.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Drop sources invokes function main in Module:Get drop info using Lua.

Generates a list of sources that drop given item, including monsters and skilling drops. Uses the Semantic MediaWiki property Property:Drop JSON.

The module called by this template is considered an expensive function, and will increment the count for every page it checks.

{{Drop sources|Item name|limit=optional}}

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.


Generates a list of monsters/items which drop the given item.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item name1

Name of the item to search for.

Example
Fire rune
Page namerequired
Limitlimit

Maximum length of the generated list.

Default
500
Numberoptional
Show headershowheader

Whether to show a header with a link to show full results.

Default
Header is shown only when there are additional results.
Stringoptional