Template:DependencyList

This is an old revision of this page, as edited by Alex (talk | contribs) at 15:33, 15 October 2024 (Created page with "<includeonly>{{#invoke:DependencyList|main}}</includeonly><noinclude>{{/doc}}</noinclude>"). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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:Format eq stat.
Module:Infobox Monster requires Module:Infobox.
Module:Infobox Monster requires Module:Mainonly.

{{DependencyList|Module:Edit button}}

{{DependencyList|Module:Mmgsection}}

Module:Mmgsection's function main is invoked by Template:Mmgsection.
Module:Mmgsection requires Module:Currency.
Module:Mmgsection requires Module:Number.
Module:Mmgsection requires strict.