Template:Wiki/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 24: Line 24:


== See also ==
== See also ==
* {{tl|link=cow}} — Link to Combine OverWiki pages.
{{External link templates}}
* {{tl|link=pcgw}} — Link to PCGamingWiki pages.
* {{tl|link=tf wiki}} - Link to Team Fortress Wiki pages.
* {{tl|link=quakewiki}} — Link to Quake Wiki pages.


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||

Revision as of 12:39, 19 June 2023

Edit-copy.png
This is a documentation subpage for Template:Wiki.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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}} redirects to {{wiki}}, so they're equivalent.

Parameters

  • {{{1}}} – The wikipedia article name to link to.
  • {{{2}}} – Optional: The display text for the link.

Examples

{{Wiki}} Wikipedia icon Wikipedia
{{Wiki|IMI Desert Eagle}} Wikipedia icon IMI Desert Eagle
{{Wiki|IMI Desert Eagle|Deagle}} Wikipedia icon Deagle
{{Wiki|ru:Гейб Ньювелл|Гейб Ньювелл}} Wikipedia icon Гейб Ньювелл

See also

Cross-wiki link templates
Template Preview
{{wikipedia}}
{{wiki}}
{{w}}
Wikipedia icon Wikipedia
{{cow}} Combine overwiki icon.png Combine OverWiki
{{l4dwiki}} Left 4 Dead Wiki Left 4 Dead Wiki
{{pcgw}} Pcgw icon.png PCGamingWiki
{{portalwiki}} Portalwiki icon.png Portal Wiki
{{sboxwiki}} S&box icon.png S&Box Wiki
{{tfwiki}} Tfwiki favicon.png Team Fortress Wiki
{{twhl}} Twhl hammer emote.png TWHL Wiki
{{quakewiki}} Quake1-16px.png Quake Wiki
{{cswiki}} Counter-Strike Wiki Counter-Strike Wiki
Social media link templates
Template Preview
{{bluesky}} Bluesky Bluesky
{{discord}} Discord logo Discord
{{reddit}} Reddit logo Reddit
{{steam community}} Steam Community Steam Community
{{twitch}} Twitch logo Twitch
{{twitter}}
{{x}}
Logo for X X (Twitter)
{{youtube}} YouTube logo YouTube
Storefront link templates
Template Preview
{{steam store}} Steam Store Steam Store
{{epic}}
{{egs}}
Epic Games Store Epic Games Store
{{gplay}} Google Play Google Play
{{gog}} GOG.com GOG.com
{{ms store}}
(PC, Xbox One Xbox One, Xbox Series X/S)
Microsoft Store Microsoft Store
{{xbox store}}
(Xbox 360 Xbox 360)
Xbox Marketplace Xbox Marketplace
{{nintendo store}} Nintendo Store Nintendo Store
Other link templates
Template Preview
{{steam}} Steam Protocol
{{email}}
{{e}}
gaben@valvesoftware.com
{{github}} GitHub GitHub
{{gamebanana}} ModDB GameBanana
{{moddb}} ModDB ModDB
{{rtsl}} rtsl RTSL
{{protondb}} ProtonDB ProtonDB
{{steamdb}}
{{sdb}}
SteamDB SteamDB
{{gdrive}}
{{gd}}
Google Drive Google Drive
{{fragnet}}
{{fn}}
Frag-Net Frag-Net

ViewDiscussEdit templatePurge