Template:Link
来自Valve Developer Community
跳转到导航
跳转到搜索
文档页面 Template:Link/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。
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}}}
|
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}}}
|
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.