Template:DependencyList

From Old School Near-Reality Wiki
Revision as of 19:42, 3 October 2022 by Jacmob (talk | contribs) (Created page with "<includeonly>{{#invoke:DependencyList|main}}</includeonly><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation
This documentation is transcluded from Template:DependencyList/doc. [edit] [history] [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:Attack speed bar.
Module:Infobox Monster requires Module:Format eq stat.
Module:Infobox Monster requires Module:Infobox.
Module:Infobox Monster requires Module:Mainonly.

{{DependencyList|Module:Edit button}}

Module:Edit button is required by Module:Attack speed bar.
Module:Edit button is required by Module:Infobox.
Module:Edit button is required by Module:LocLine.

{{DependencyList|Module:Attack speed bar}}

Module:Attack speed bar requires Module:Edit button.
Module:Attack speed bar is required by Module:Infobox Bonuses.
Module:Attack speed bar is required by Module:Infobox Monster.