Template:M: Difference between revisions
Jump to navigation
Jump to search
m (→Syntax) |
No edit summary |
||
Line 19: | Line 19: | ||
{{m|delete{{!}}<reason>}} | {{m|delete{{!}}<reason>}} | ||
{{eyecatch|Limitation|When using templates with parameters as values for <template>, you will need to use {{m|!}} as the delimiter, i.e. <nowiki>delete|<reason></nowiki> has to be replaced with <nowiki>delete{{!}}<reason></nowiki> | {{eyecatch|Limitation|When using templates with parameters as values for <template>, you will need to use {{m|!}} as the delimiter, i.e. <nowiki>delete|<reason></nowiki> has to be replaced with <nowiki>delete{{!}}<reason></nowiki>.}} | ||
[[Category:Template]]</noinclude> | [[Category:Template]]</noinclude> |
Revision as of 18:00, 6 May 2009
Convenient shortcut for "citing" templates in e.g. syntax examples.
Syntax
The template can have 1 parameter:
- {{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>. |