Template:DependencyList/doc: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(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 Monster...")
 
No edit summary
Tag: Reverted
Line 1: Line 1:
{{Documentation}}
{{documentation}}
This template is meant to be used on module documentations.
This template is used to make columned lists of bullets.


For example:
{{T|DependencyList|<Module name>|category=<true/false>}}


<code><nowiki>{{List|c=2
All parameters are optional. If <code>Module name</code> is omitted the page name will be used instead; <code>/doc</code> is automatically removed.
</nowiki><br><nowiki>|*Number 1 </nowiki><br><nowiki>
*Number 2</nowiki><br><nowiki>}}</nowiki></code>


would give {{List|c=2
If <code>category</code> is <code>false</code> then no categories will be added to the page, the default value is <code>true</code>.
|*Number 1
*Number 2}}.


The 'c' parameter designates the number of columns created.
==Examples==
{{T|DependencyList|Module:Infobox Monster}}
{{DependencyList|Module:Infobox Monster|category=false}}

{{T|DependencyList|Module:Edit button}}
{{DependencyList|Module:Edit button|category=false}}

{{T|DependencyList|Module:Mmgsection}}
{{DependencyList|Module:Mmgsection|category=false}}

Revision as of 00:35, 17 October 2024

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 used to make columned lists of bullets.

For example:

{{List|c=2
|*Number 1
*Number 2
}}

would give

  • Number 1
  • Number 2

.

The 'c' parameter designates the number of columns created.