Template:Template link expanded: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly><code>{{((}}[[Template:{{{1}}}|{{{1}}}]]{{))}}</code></includeonly><noinclude>
<includeonly><code {{#ifeq: {{trim|{{lc:{{{2|}}}}}}}|plaincode|style{{=}}"border: none; background: transparent;"|}}>{{((}}[[Template:{{{1}}}|{{{1}}}]]{{))}}</code></includeonly><noinclude>
{{documentation}}
{{documentation}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 16:24, 1 November 2024

Template documentation[view] [edit] [history] [purge]
English Wikipedia has an article on:

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, plaincode can be passed in to remove the styling around the resulting text, while nolink will prevent linking to the template in question when it is not necessary.

You can input a "magic word" as the first unnamed parameter to link to MediaWiki's help page for magic words. Passing in ! or = will link to the section about escaped characters, since {{!}} and {{=}} are "magic words" as well.

Note: You can use {{tlx}} as a shortcut.

See also