Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:M/doc: Difference between revisions

Template page
m +cat
m +parm
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
   |name              = M
   |name              = M
   |desc              = Creates a link to a named module (or nothing at all if there's no specified pagename)
   |desc              = Creates a link to a named module


   |1        =1<!-- Name of the first parameter the template takes -->
   |1        =1<!-- Name of the first parameter the template takes -->
   |1label  =pagename<!-- A (very) brief name for the parameter. -->
   |1label  =pagename<!-- A (very) brief name for the parameter. -->
   |1d-en    =the name of a module (or template) without its namespace<!-- English description of the first parameter the template takes -->
   |1d-en    =the name of a module <!-- English description of the first parameter the template takes -->
   <!-- |1d-td    =description of the first parameter the template takes without any wiki marking-->
   <!-- |1d-td    =description of the first parameter the template takes without any wiki marking-->
   <!-- |1aliases =List of aliases, separated by / (a slash) -->
   <!-- |1aliases =List of aliases, separated by / (a slash) -->
Line 20: Line 20:


   |3        =3
   |3        =3
   |3label  =prefix
   |3label  =code
   |3d-en    =set "+" or "-" to precede "Module:" (as a link, or straight text)
   |3d-en    ={{W|List of ISO 639-1 codes|ISO 639 language code}} for an interwiki link
   |3type    =code
   |3type    =code
   |3def    =
   |3def    =commons
   |3stat    =optional-
   |3stat    =optional-
  |4        =4
  |4label  =prefix
  |4d-en    =set "+" or "-" to precede "Module:" (as a link, or straight text)<br>can be specified also with parameter 2 or 3
  |4type    =code
  |4def    =
  |4stat    =optional-




Line 34: Line 41:
   |relieson          =
   |relieson          =
   |usage-notes        =
   |usage-notes        =
This was previously used also to create a link to a ''template'' with that same name (and so it was redirected as an shortcut or alias of template:T). This habit used mainly by French users, familiar with {{T|Modèle|+|fr|i18n=fr|case=i}}, is now deprecated, please use {{T|T|+|case=l}} instead.
   |shorthand          =
   |shorthand          =
   |setscats          =
   |setscats          =
* [[:Category:Deprecated M]] – if the specified module does not exist, because it assumes the name may be that of a template. But may indicate that the module no longer exists.
   |seealso            =
   |seealso            =
* {{T|T|+}}
* {{T|T|+}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.