Template:Questreq/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:Questreq.
It contains usage information, categories, and other content that is not part of the original template page.
Template:Questreq invokes function main in Module:Questreq using Lua.
Template:Questreq invokes Module:Questreq using Lua.
For information on updating requirements, see Module talk:Questreq

Creates a collapsible table of required quests. Quests required for those listed will also be listed, as a sublist; and so on. Creates a list of required skills.

All quest requirement data gets pulled from Module:Questreq/data

Usage

To list a quest's quest requirements:

{{Questreq|<questname>|quests}}

If lists are becoming too long, then the level of indentation can be limited with a parameter.

{{Questreq|<questname>|quests|<limit>}}

The collapsible table can be specified as open on page load (limit value must be specified):

{{Questreq|<questname>|quests|<limit>|open}}

To list a quest's skill requirements:

{{Questreq|<questname>|skills}}