Template:M: Difference between revisions
Template page
More actions
m cleanup and correcty tracking of usage |
m internationalize |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#switch:- | |||
|{{{2|}}} | {{{3|}}} | {{{4|}}} ={{#switch:+ | |||
|{{{2|}}} | {{{3|}}} | {{{4|}}} = | |||
|#default = Module: | |||
}} | |||
}}<!-- | |||
-->[[{{#switch:{{{3|}}}|+|-|=|{{{3}}}}}:Module:{{PAGENAME:{{{1|}}}}}|{{#switch:+ | |||
|{{{2|}}} | {{{3|}}} | {{{4|}}} = Module: | |||
}}{{#switch: {{{2|}}} | |||
|+|-|={{{1|}}} | |||
|#default={{{2|}}} | |||
}}]]<noinclude> | |||
{{Documentation}}</noinclude> | |||
Latest revision as of 14:36, 19 July 2022
[[:Module:|]]
This documentation is transcluded from Template:M/doc.
Creates a link to a named module
Usage
{{M |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | pagename | the name of a module | empty | suggested |
2 | label | the text to display in the link | {{{1|}}} | optional |
3 | code | ISO 639 language code for an interwiki link | commons | optional |
4 | prefix | set "+" or "-" to precede "Module:" (as a link, or straight text) can be specified also with parameter 2 or 3 | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
See also
- Template:{{T}}
- Template:{{MT}} (for "Module talk:")
Localization
This template is not intended to be localized.