Template:Wiki
From Valve Developer Community
Jump to navigation
Jump to search
Description & Usage
This template is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as
IMI Desert Eagle, you have to write the entire title twice [[w:IMI Desert Eagle|IMI Desert Eagle]] and it's a hassle. This template skips that step when the displayed text will be the same as the title of the article you are linking to, and it also adds a handy icon to make it clear to the reader that the link goes to Wikipedia, instead of somewhere internal.
To link to another language page of Wikipedia, use: {{Wiki|<lang-prefix>:ARTICLE}}, see the example below.
Parameters
| Parameter | Description | Example | Preview |
|---|---|---|---|
| No Parameters | Creates a link to Wikipedia Home page with language selection. | {{wiki}} |
|
{{{1}}}
|
Full name of the article on Wikipedia. | {{wiki|Valve Corporation}} |
|
{{{2}}}
|
Alternative name of the link. | {{wiki|Valve Corporation|Valve}} {{wiki|es:Half-Life 2|HL2 (Spanish Wikipedia)}} |
|
{{{section}}}
|
The section to link to (also works with {{{2}}}). | {{wiki|Half-Life 2|section=Gameplay}} |
|
{{{icon}}}
|
Hide/shows the icon. Values: show (default), hide
|
{{wiki|icon=hide}} {{wiki|text=hide}} |
See also
| Template | Preview |
|---|---|
| {{wikipedia}} {{wiki}} {{w}} |
|
| {{cow}} | |
| {{l4dwiki}} | |
| {{pcgw}} | |
| {{portalwiki}} | |
| {{sboxwiki}} | |
| {{tfwiki}} | |
| {{twhl}} | |
| {{quakewiki}} | |
| {{cswiki}} |
| Template | Preview |
|---|---|
| {{bluesky}} | |
| {{discord}} | |
| {{reddit}} | |
| {{steam community}} | |
| {{twitch}} | |
| {{twitter}} {{x}} |
|
| {{youtube}} |
| Template | Preview |
|---|---|
| {{steam store}} | |
| {{epic}} {{egs}} |
|
| {{gplay}} | |
| {{gog}} | |
| {{ms store}} (PC, |
|
| {{xbox store}} ( |
|
| {{nintendo store}} |
| Template | Preview |
|---|---|
| {{steam}} | Steam Protocol |
| {{email}} {{e}} |
gaben@valvesoftware.com |
| {{github}} | |
| {{gamebanana}} | |
| {{moddb}} | |
| {{rtsl}} | |
| {{protondb}} | |
| {{steamdb}} {{sdb}} |
|
| {{gdrive}} {{gd}} |
|
| {{fragnet}} {{fn}} |
The above documentation is transcluded from Template:Wiki/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Hidden category: