Template:DependencyList/doc

Revision as of 18:04, 22 March 2024 by Habblet (talk | contribs) (Created page with "{{Documentation}} This template is meant to be used on module documentations. {{T|DependencyList|<Module name>|category=<true/false>}} All parameters are optional. If <code>Module name</code> is omitted the page name will be used instead; <code>/doc</code> is automatically removed. If <code>category</code> is <code>false</code> then no categories will be added to the page, the default value is <code>true</code>. ==Examples== {{T|DependencyList|Module:Infobox Item}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 Item}}

Module:Infobox Item's function main is invoked by Template:Infobox Item.
Module:Infobox Item requires Module:Infobox.
Module:Infobox Item requires Module:Param Parse.

{{DependencyList|Module:Edit button}}

Module:Edit button is required by Module:Infobox.
Module:Edit button is required by Module:Infobox Recipe.