Template:DependencyList/doc: Difference between revisions
Template page
More actions
Created page with "<includeonly>{{#invoke:DependencyList|main}}</includeonly><noinclude>{{/doc}}</noinclude>" |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | |||
This template is meant to be used on module documentations. | |||
{{T|DependencyList|<Module name>|category=<true/false>|compact=<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>. | |||
If <code>compact</code> is <code>true</code> links will be separated by commas instead of every link on a new line. | |||
==Examples== | |||
{{T|DependencyList|Module:For}} | |||
{{DependencyList|Module:For|category=false}} | |||
{{T|DependencyList|Module:Infobox|compact=true}} | |||
{{DependencyList|Module:Infobox|compact=true|category=false}} | |||
Latest revision as of 12:05, 14 July 2023
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit Template:DependencyList/doc/doc to edit this documentation. (How does this work?) |
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>}}
Page Module:Mbox/styles.css has no content.This module is unused.
This module is neither invoked by a template nor required/loaded by another module. If this is in error, make sure to add
{{Documentation}}/{{No documentation}} to the calling template's or parent's module documentation.{{DependencyList|<Module:Infobox>}} Error: Module:DependencyList:171: Module:Infobox does not exist