Template:Link

From Valve Developer Community
Revision as of 14:22, 19 July 2023 by Lxm6 (talk | contribs) (Delete for now! Not so helpful without StringFunctions.)
Jump to navigation Jump to search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history

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}}.
Icon-Important.pngImportant: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.

Parameters and Examples

Parameter Description Example Preview
{{{1}}} Link type or link without https://.
Available link types:
  • plain - removes the external link icon.
Note.pngNote:If the link type is specified, the order changes and the link is specified in the {{{2}}} parameter.
{{link|wiki.teamfortress.com}}
[wiki.teamfortress.com wiki.teamfortress.com]
{{link|plain|wiki.teamfortress.com}}
[wiki.teamfortress.com wiki.teamfortress.com]
{{{2}}} Text displayed instead of a link.
Note.pngNote:If the link type is specified, the order changes and the displayed text is specified in the {{{3}}} parameter.
{{link|wiki.teamfortress.com|Wikipedia Main Page}}
[wiki.teamfortress.com Team Fortress Wiki]
{{{color}}} Color of displayed text.
{{link|wiki.teamfortress.com|Team Fortress Wiki|color=rgb(240 180 100)}}
[wiki.teamfortress.com Team Fortress Wiki]

See also

  • {{codelink}} - keyboard input style link.
Warning icon.png
This template has been marked as a candidate for speedy deletion for the following reason:
Not so helpful without StringFunctions.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.