Template:M: Difference between revisions
Template page
More actions
m catcorr |
m internationalize |
||
| (One intermediate revision by the same user not shown) | |||
| Line 5: | Line 5: | ||
}} | }} | ||
}}<!-- | }}<!-- | ||
-->[[:Module:{{PAGENAME:{{{1|}}}}}|{{#switch:+ | -->[[{{#switch:{{{3|}}}|+|-|=|{{{3}}}}}:Module:{{PAGENAME:{{{1|}}}}}|{{#switch:+ | ||
|{{{2|}}} | {{{3|}}} | {{{4|}}} = Module: | |{{{2|}}} | {{{3|}}} | {{{4|}}} = Module: | ||
}}{{#switch: {{{2|}}} | }}{{#switch: {{{2|}}} | ||
|+|-|={{{1|}}} | |+|-|={{{1|}}} | ||
|#default={{{2|}}} | |#default={{{2|}}} | ||
}}]] | }}]]<noinclude> | ||
{{Documentation}}</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.