Template:DependencyList

From RuneScape Classic Wiki
Jump to: navigation, search
Template documentation
This documentation is transcluded from Template:DependencyList/doc. [edit] [purge]
Template:DependencyList invokes function main in Module:DependencyList using Lua.

This template is meant to be used on module documentations.

{{DependencyList|<Module name>|category=<true/false>}}

All parameters are optional. If Module name is omitted the page name will be used instead; /doc is automatically removed.

If category is false then no categories will be added to the page, the default value is true.

Examples

{{DependencyList|Module:Infobox Monster}}

Module:Infobox Monster's function main is invoked by Template:Infobox Monster.
Module:Infobox Monster requires Module:Addcommas.
Module:Infobox Monster requires Module:Infobox.
Module:Infobox Monster requires Module:Mainonly.

{{DependencyList|Module:Skill calc}}

Module:Skill calc's function noValue is invoked by Calculator:Skill calculators/Template.

{{DependencyList|Module:Documentation}}

Module:Documentation's function doc is invoked by Template:Documentation.
Module:Documentation requires Module:DependencyList.
Module:Documentation requires Module:Yesno.