Template:M

From AniDB
Jump to navigation Jump to search


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.
Resulting source 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).