Difference between revisions of "Template:Get on Steam"
m |
Evanjohnman (talk | contribs) m (Update buttons to look similar to Steam store buttons) |
||
Line 30: | Line 30: | ||
| zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}} | | zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}} | ||
}}}}</span><br/> | }}}}</span><br/> | ||
− | {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="color: | + | {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="border:none; color:#d2e885; cursor:pointer; font-weight:bold; padding:1px; display:inline-block; text-decoration:none; background:#759405; background:-webkit-linear-gradient(top, #a4d007 5%, #536904 95%); background:linear-gradient(to bottom, #a4d007 5%, #536904 95%); -moz-border-radius: 2px; border-radius: 2px;">{{lang |
| en = Install | | en = Install | ||
| cs = Instalovat | | cs = Instalovat | ||
Line 49: | Line 49: | ||
| zh-hans = 安装 | | zh-hans = 安装 | ||
}}</span>]|}} | }}</span>]|}} | ||
− | [http://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/ <span style="color: | + | [http://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/ <span style="border:none; color:#d2e885; cursor:pointer; font-weight:bold; padding:1px; display:inline-block; text-decoration:none; background:#759405; background:-webkit-linear-gradient(top, #a4d007 5%, #536904 95%); background:linear-gradient(to bottom, #a4d007 5%, #536904 95%); border-radius:2px; -moz-border-radius:2px;">{{lang |
| en = Details | | en = Details | ||
| cs = Detaily | | cs = Detaily | ||
Line 68: | Line 68: | ||
}}{{#switch: {{{series}}} | l4d = (L4D) | p = (P1)}}</span>] | }}{{#switch: {{{series}}} | l4d = (L4D) | p = (P1)}}</span>] | ||
{{#switch: {{{part}}} | {{#switch: {{{part}}} | ||
− | | yes = [http://store.steampowered.com/app/{{{app2}}}/ <span style="color: | + | | yes = [http://store.steampowered.com/app/{{{app2}}}/ <span style="border:none; color:#d2e885; cursor:pointer; font-weight:bold; padding:1px; display:inline-block; text-decoration:none; background:#759405; background:-webkit-linear-gradient(top, #a4d007 5%, #536904 95%); background:linear-gradient(to bottom, #a4d007 5%, #536904 95%); border-radius:2px; -moz-border-radius:2px;">{{lang |
| en = Details | | en = Details | ||
| cs = Detaily | | cs = Detaily |
Revision as of 20:13, 28 November 2016
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Get on Steam/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, cs, es, fi, fr, hu, it, ja, ko, nl, pl, pt-br, ru, tr, zh-hans, zh-hant (add) |
Documentation for Get on Steam
Displays a status box on your mod's page, and adds it to the appropriate categories. Some information is loaded from {{Dictionary/gameinfo}}
.
Usage
{{Get on Steam | app = ''500'' // Game's app-number on Steam | series = ''<l4d/p>'' // Left 4 Dead or Portal series. | part = ''<yes/no> // For 2-part games (L4D, Portal) | app2 = ''550'' // Second part of game. | placing = ''<left/right/center>'' // placing of the box. Default value is ''right''. }}
Images
Images associated with games (such as File:Dota 2.png) should redirect to an image with the game id (such as File:Game icon 570.png), which is where the images should actually be stored.