Template:M

Revision as of 21:50, 6 May 2009 by Foo2 (talk | contribs) (Updated the m template... template parameters are now read as parameters and turned back into text.)

Convenient shortcut for "citing" templates in e.g. syntax examples.

Syntax

The template can have 1 to 11 parameters:

  1. {{m|<template>}} - Template name.
  2. {{m|<template>|<parameter1>}} - Template name with 1 parameter.
  3. {{m|<template>|<p1>|<p2>}} - Template name with 2 parameters.
  4. ...
  5. {{m|<template>|<p1>|<p2>| ... |<p10>}} - Template name with 10 parameters.
  <template>  =  The template name you want to see in bold, with true type font.

<parameter1>  = 1st template parameter name.
        <p2>  = 2nd template parameter name.
        ...
        <p2>  = 10th and last template parameter name.


Resulting source code: '''<tt><nowiki>{{<template>}}</nowiki></tt>'''

Examples

{{m|message}}

{{message}}

{{m|delete|<reason>}}

{{delete|<reason>}}

{{m|<#>|<info>|<text>}}

{{<#>|<info>|<text>}}

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.