Template:Ml/doc
This template is used to display (and link) a module without actually using it. If parameters should be displayed as well, use {{mlx}}
instead.
Ml is short for Module link
.
Usage
To use place {{ml|module|function}}
on the page.
Parameters
Parameter[note 1] | Data Type | Status | Default Value | Description | |
---|---|---|---|---|---|
Position or name | Placeholder | ||||
1
|
module
|
Required | String | - | Name of the module that should be displayed. |
2
|
function
|
Required | String | - | Name of the function that has to be used. |
Notes
- ↑ Placeholders refer to the names used in the syntax above. For documentation purposes positioned parameters often have a pseudo name instead of their number to improve readabilty, e.g.
module
instead of1
.
Examples
Normal usage
{{ml|Notice|main}}
produces: {{#invoke:Notice|main}}
With additional parameters
{{ml|Notice|main|file=beans.png}}
produces: {{#invoke:Notice|main}}