Want to contribute? Join the Discord and ask for the editor role.
Template:DependencyList/doc: Difference between revisions
Template page
RTGame>Alistair3149 m (1 revision imported) |
m (1 revision imported) |
Latest revision as of 16:52, 2 May 2021
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>>}}
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
.
If compact
is true
links will be separated by commas instead of every link on a new line.
Examples
{{DependencyList|<Module:For>}}
Module:For's function For is invoked by Template:For.
Module:For requires Module:Arguments.
Module:For requires Module:Hatnote.
Module:For requires Module:Hatnote list.
Module:For requires Module:Yesno.
{{DependencyList|<Module:Infobox>}}
Module:Infobox's function infobox is invoked by Template:Infobox.