Template:Wiki

From Valve Developer Community
(Redirected from Template:WP)
Jump to: navigation, search
Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

Description & Usage

Note.pngNote:The Wikipedia icon pipe trick can also be used, but it will be less clear that the link goes to Wikipedia. See also: Help:Linking.

This template is a faster way to link to Wikipedia articles. Normally if you want to link to a Wikipedia article such as Wikipedia icon IMI Desert Eagle, you have to write the entire title twice [[Wikipedia: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.

Note.pngNote:{{wikipedia}} and {{w}} redirect to {{wiki}}, so they're equivalent.

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)}}
Wikipedia icon Valve
{{{icon}}} Hide/shows the icon.
Values: show (default), hide
{{wiki|icon=hide}}

See also

Cross-wiki link templates ViewDiscussEdit templatePurge
Template Target wiki
{{wiki}} Wikipedia
{{cow}} Combine OverWiki
{{l4dwiki}} Left 4 Dead Wiki
{{pcgw}} PCGamingWiki
{{portalwiki}} Portal Unofficial Wiki
{{sboxwiki}} S&Box wiki
{{tfwiki}} Team Fortress Official Wiki
{{twhl}} The Whole Half-Life wiki
{{quakewiki}} The Quake Wiki (quakewiki.org)
{{cswiki}} Counter-Strike Wiki
Social media link templates
Template Target
{{discord}} Discord server invite
{{fb}} Facebook
{{steam community}} Steam Community
{{twitch}} Twitch
{{twitter}} / {{x}} Twitter / X
{{tiktok}} TikTok
{{reddit}} Reddit
{{youtube}} YouTube
Storefront link templates
Template Target store
{{steam store}} Steam store
(on web; use {{steam}} for app links)
{{ea app}} EA App
{{epic}} Epic Games Store
{{gplay}} Google Play
{{gog}} GOG.com (formerly Good Old Games)
{{ms store}} Microsoft Store and Xbox Store
Note.pngNote:Open with App links are not supported.
{{nintendo store}} Nintendo Store
Other link templates
Template Target
{{steam}} Steam application
{{github}} GitHub repository
{{gamebanana}} GameBanana page
{{moddb}} ModDB page
{{protondb}} ProtonDB page
{{steamdb}} SteamDB page