Template:M

Revision as of 12:07, 6 May 2009 by Foo2 (talk | contribs) (Wrote some documentation.)


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

Syntax

The template can have 1 parameter:

  1. {{m|<template>}} - Template name.
<template> =  The template name you want to see in bold, with true type font,
              possibly with {{!}} delimited parameters.
Code: '''<tt><nowiki>{{<template>}}</nowiki></tt>'''

Examples

{{m|message}}

{{message}}

{{m|delete{{!}}<reason>}}

{{delete|<reason>}}

Limitation When using templates with parameters as values for <template>, you will need to use {{!}} as the delimiter, i.e. delete|<reason> has to be replaced with delete{{!}}<reason> (for now).
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.