Template:Link/doc
Jump to navigation
Jump to search
Important:This template requires that parameters and values do not have spaces at the beginning or end. This is due to wiki engine limitations, user preferences, or other reasons.

This is a documentation subpage for Template:Link.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Creates an external link.
Usage
This template is usually written in a single line. To use it, insert {{Link}}
into the desired page and specify the parameters to the right of the template name in the following format: {{Link|parameter 1=value|parameter 2=value}}
.

Parameters and Examples
Parameter | Description | Example | Preview |
---|---|---|---|
{{{1}}} or {{{2}}}
|
Link type or link without https:// .Available link types:
![]() |
{{link|wiki.teamfortress.com}} |
wiki.teamfortress.com |
{{link|plain|wiki.teamfortress.com}} |
wiki.teamfortress.com | ||
{{{2}}} or {{{3}}}
|
Text displayed instead of a link.![]() |
{{link|wiki.teamfortress.com|Wikipedia Main Page}} |
Team Fortress Wiki |
{{{color}}}
|
Color of displayed text. | {{link|wiki.teamfortress.com|Team Fortress Wiki|color=rgb(240 180 100)}} |
Team Fortress Wiki |
See also
- {{codelink}} - keyboard input style link.