Template:Template link expanded: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><code {{#ifeq: {{{2|}}}|plaincode|style{{=}}"border: none; background: transparent; | <includeonly><code {{#ifeq: {{lc:{{{2|}}}}}|plaincode|style{{=}}"border: none; background: transparent; color: {{{color|{{{colour|inherit}}}}}}; padding: 0px 0px 0px 0px;"|}}>{{template link general|{{{1|}}}|{{{2|}}}}}</code></includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
[[Category: | [[Category:Formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:43, 27 May 2025
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.