Template:Ms store/doc

From Valve Developer Community
Jump to navigation Jump to search
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Edit-copy.png
This is a documentation subpage for Template:Ms store.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

Link to Microsoft Store Microsoft Store aswell as Xbox Store Xbox Store.

Links that open the Microsoft Store app on Windows (such as "ms-windows-store://") are currently not supported on this wiki, unlike "{{steam}}" template.

Parameters and Examples

Parameter Description Example Preview
No Parameters Creates a link to Microsoft Store.
{{ms store}}
{{{1}}} Product IDs & Product Name on Microsoft Store.
Only required for apps.microsoft.com and Xbox links: {{ms store|<ProductName>/<ProductID>}}.
ProductName part is required for apps.microsoft.com and Xbox links. <ProductName> does not work with microsoft.com/store/productid/ links.
Icon-Bug.pngBug:Links with <ProductName> on it will ended up with 404 pages if you click on the icon itself instead of the link, due to URL encoding issue.  [todo tested in?]
{{ms store|<ProductID>}}
{{ms store|9MV0B5HZVK9Z}}
{{ms store|xbox/9MV0B5HZVK9Z|site=ms-store2}}
{{{2}}} Alternative name of the link.
{{ms store|<ProductID>|<App name>}}
{{ms store|9MV0B5HZVK9Z|Xbox App on MS Store}}
{{{site}}} If set to "Xbox", "xbox" or "xboxsite", changes the link to Xbox website, which have it's own Store page.
If set to "ms-store2, msstore2, ms store 2 or apps", loads apps.microsoft.com instead of microsoft.com/store/productid/.

<ProductName>/<ProductID> is required for Xbox links and for apps.microsoft.com links, otherwise goes to 404 page if there's no "<ProductName>" on the URL.
{{ms store|<ProductName>/<ProductID>|<App name>|site=xbox}}
{{ms store|quake/9P1Z43KRNQD4|Get Quake on Xbox website|site=xboxsite}}
{{{icon}}} Hide/shows the icon.
Values: show (default), hide
{{ms store|icon=hide}}

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}} Microsoft Store Microsoft Store
{{nintendo store}} Nintendo Store Nintendo Store
Other link templates
Template Preview
{{steam}} Steam Protocol
{{email}}
{{e}}
[email protected]
{{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

ViewDiscussEdit templatePurge