Template:DependencyList/doc

From Old School RuneScape Wiki
Jump to: navigation, search
Information icon-grey.svg
This is a documentation subpage for Template:DependencyList.
It contains usage information, categories, and other content that is not part of the original template page.
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.

{{DependencyList|Module:Edit button}}

{{DependencyList|Module:Attack speed bar}}

Module:Attack speed bar's function main is invoked by Template:Speed Bar.
Module:Attack speed bar requires Module:Edit button.