Difference between revisions of "Template:Plain link"
m (Copied from Wikipedia. Many thanks to the contributors: https://en.wikipedia.org/w/index.php?title=Template:Plain_link&action=history) |
GrampaSwood (talk | contribs) m (Reverting to older version, it's much simpler and there is no real reason to have the documentation on Wikipedia itself (which appears much more complicated). If you want to majorly change the template to copy Wikipedia's, please discuss first) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <span class="plainlinks">{{ | + | <span class="plainlinks">[{{{1}}} {{{2}}}]</span><noinclude> |
− | + | {{Doc begin}} | |
− | + | == Usage == | |
− | + | :<code><nowiki>{{Plain link|1|2}}</nowiki></code> | |
− | {{ | + | {{Note|<code><nowiki>{{pl}}</nowiki></code> also works!}} |
− | + | ||
+ | Turns an external link into one that appears as an internal one. | ||
+ | |||
+ | == Parameters == | ||
+ | ; 1 | ||
+ | : The link you want to use. | ||
+ | |||
+ | ; 2 | ||
+ | : The text to be displayed. | ||
+ | |||
+ | * {{tlx|Plain link|2=<nowiki>https://www.teamfortress.com/</nowiki>|3=Team Fortress 2 Blog!}} generates {{Plain link|https://www.teamfortress.com/|Team Fortress 2 Blog!}}. | ||
+ | |||
+ | [[Category:Formatting templates|Plain link]] | ||
</noinclude> | </noinclude> |
Latest revision as of 13:15, 25 October 2023
[{{{1}}} {{{2}}}]
Documentation for Plain link
Usage
{{Plain link|1|2}}
{{pl}}
also works!
Turns an external link into one that appears as an internal one.
Parameters
- 1
- The link you want to use.
- 2
- The text to be displayed.
{{Plain link|https://www.teamfortress.com/|Team Fortress 2 Blog!}}
generates Team Fortress 2 Blog!.