Widget:SteamStore: Difference between revisions
Appearance
Add SteamStore widget. |
m Adjust Steam iframe color-scheme handling for dark mode and remove duplicate dimensions. |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 5: | Line 5: | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
<nowiki>{{#widget:SteamStore | <nowiki>{{#widget:SteamStore | ||
| id = | |||
}}</nowiki> | }}</nowiki> | ||
</noinclude><includeonly><iframe src="https://store.steampowered.com/widget/<!--{$id|escape:'html'}-->/" | == Parameters == | ||
ID = Steam Store ID of the application/game. For example Empires is 17740. | |||
</noinclude><includeonly><iframe | |||
src="https://store.steampowered.com/widget/<!--{$id|escape:'html'}-->/" | |||
width="<!--{$width|default:'650'|escape:'html'}-->" | |||
height="<!--{$height|default:'190'|escape:'html'}-->" | |||
frameborder="0" | |||
title="Steam store widget" | |||
style="border:0; background:transparent; color-scheme:light;" | |||
></iframe></includeonly> | |||
Latest revision as of 16:08, 28 September 2026
This widget allows you to embed a SteamStore widget on a page. (HTML version)
Using this widget
To insert this widget, use the following code:
{{#widget:SteamStore
| id =
}}
Parameters
ID = Steam Store ID of the application/game. For example Empires is 17740.