1,633
edits
No edit summary |
(Wrote some documentation.) |
||
Line 1: | Line 1: | ||
'''<tt><nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></tt>''' | <includeonly>'''<tt><nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></tt>'''</includeonly><noinclude> | ||
Convenient shortcut for "citing" templates in e.g. syntax examples. | |||
==Syntax== | |||
The template can have '''1 parameter''': | |||
#{{m|m{{!}}<template>}} - Template name. | |||
'''<template>''' = The template name you want to see in bold, with true type font, | |||
possibly with {{m|!}} delimited parameters. | |||
Code: <nowiki>'''<tt><nowiki>{{<template>}}</</nowiki><nowiki>nowiki></tt>'''</nowiki> | |||
==Examples== | |||
<nowiki>{{m|message}}</nowiki> | |||
{{m|message}} | |||
<nowiki>{{m|delete{{!}}<reason>}}</nowiki> | |||
{{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> (for now).}} | |||
[[Category:Template]]</noinclude> |
edits