Template:Redirect: Difference between revisions
From EunuchWiki
Wikipedia:Templates for discussion/Log/2018 February 18#Template:Redirect3_and_Template:About2 closed as merge (XFDcloser) |
imported>Retarded FAG Resurrect Template from the dead |
||
Line 1: | Line 1: | ||
< | {{{{{|safesubst:}}}#ifexist:{{{1}}} | ||
{{ | |<span class="plainlinks">[{{{{{|safesubst:}}}fullurl:{{{1}}}|redirect=no}} {{{2|{{{1}}}}}}]</span> | ||
< | |{{{{{|safesubst:}}}#if:{{{2|}}} | ||
</noinclude> | |[[:{{{1}}}|{{{2}}}]] | ||
|[[:{{{1}}}]] | |||
}} | |||
}}<noinclude> | |||
==Purpose== | |||
This is to link to redirects. | |||
==Usage example== | |||
;Plain: | |||
<nowiki>{{Redirect|Crybully}}</nowiki> | |||
... yields: | |||
<span class="plainlinks">[{{SERVER}}/index.php?title=Crybully&redirect=no Crybully]</span> | |||
;With text label: | |||
<nowiki>{{Redirect|Crybully|Text label}}</nowiki> | |||
... yields: | |||
<span class="plainlinks">[{{SERVER}}/index.php?title=Crybully&redirect=no Text label]</span> | |||
[[Category:Link Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 15:34, 21 January 2024
[[:{{{1}}}]]
Purpose
This is to link to redirects.
Usage example
- Plain
{{Redirect|Crybully}}
... yields: Crybully
- With text label
{{Redirect|Crybully|Text label}}
... yields: Text label