Template:Template link expanded/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
This template provides a link to a template with a given name, but in code instead of as plain text. As a second unnamed parameter, <code>plaincode</code> can be passed in to remove the styling around the resulting text, while <code>nolink</code> will prevent linking to the template in question when it is not necessary. | This template provides a link to a template with a given name, but in code instead of as plain text. As a second unnamed parameter, <code>plaincode</code> can be passed in to remove the styling around the resulting text, while <code>nolink</code> will prevent linking to the template in question when it is not necessary. | ||
You can input a [[mw:help:Magic words|magic word]] as the first unnamed parameter to link to MediaWiki's help page for magic words. | You can input a [[mw:help:Magic words|"magic word"]] as the first unnamed parameter to link to MediaWiki's help page for magic words. Passing in <code>!</code> or <code>=</code> will link to the section about escaped characters, since <code>{{<nowiki />!}}</code> and <code>{{<nowiki />=}}</code> are "magic words" as well. | ||
{{shortcut|tlx}} | {{shortcut|tlx}} |