Template:Ml

Revision as of 09:56, 17 June 2025 by Gorasuhl (talk | contribs) (a template similar to "Template link" but for modules)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

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

  1. 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 of 1.


Examples

Normal usage

{{ml|Notice|main}} produces: {{#invoke:Notice|main}}

With additional parameters

{{ml|Notice|main|file=beans.png}} produces: {{#invoke:Notice|main}}


See also