Difference between revisions of "Template:Plain link"
m (Readd category) |
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) |
||
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]] | [[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!.