Template:Steam/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Documentation == This template is used to create a link to the [http://www.steampowered.com Steam client] and perform various Steam-related functions. * See Steam browse...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{doc/subpage}}
== Documentation ==
== Documentation ==
This template is used to create a link to the [http://www.steampowered.com Steam client] and perform various Steam-related functions.
This template is used to create a link to the {{steam store|about|Steam client}} and perform various Steam-related functions.


* See [[Steam browser protocol]] for more information.
* See [[Steam browser protocol]] for more information, and for more commands.


== Syntax ==
== Syntax ==
  <nowiki>{{</nowiki>Steam|''<steam command>''|''<optional link title>''<nowiki>}}</nowiki>
{{Codeblock|<nowiki>{{Steam|''<steam command>''|''<optional link title>''}}</nowiki>
}}
 
If the Steam command is not specified, the link, if clicked, will open the default Steam window that was specified in '''Steam Settings > Inferface > Start Up Location'''.


== Examples ==
== Examples ==
* <code><nowiki>{{Steam|open/games}}</nowiki></code> will produce: [steam://open/games steam://open/games], which opens the Steam My Games list.
* <code><nowiki>{{Steam|open/games}}</nowiki></code> will produce: [steam://open/games steam://open/games], which opens the Steam My Games list.
* <code><nowiki>{{Steam|store/240|Buy Counter-Strike Source}}</nowiki></code> will produce: [steam://store/240 Buy Counter-Strike Source] and will open the Steam Store to the [[Counter-Strike: Source]] page when clicked.
* <code><nowiki>{{Steam|store/240|Buy Counter-Strike Source}}</nowiki></code> will produce: [steam://store/240 Buy Counter-Strike Source] and will open the Steam Store on the Steam client to the {{css|4}} page when clicked.
* <code><nowiki>{{Steam|url/gamehub/620|View Portal 2 on Steam Community}}</nowiki></code> will produce: [steam://url/gamehub/620 View Portal 2 on Steam Community] and will open the Steam Community page for {{p2|4}} on the Steam client when clicked.


== See also ==
== See also ==
{{External link templates}}
{{External link templates}}

Latest revision as of 07:30, 22 December 2023

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

Documentation

This template is used to create a link to the Steam client Steam client and perform various Steam-related functions.

Syntax

{{Steam|''<steam command>''|''<optional link title>''}}

If the Steam command is not specified, the link, if clicked, will open the default Steam window that was specified in Steam Settings > Inferface > Start Up Location.

Examples

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