Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
(Updated available languages)
m
Line 2: Line 2:
 
<div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;padding:.5em;min-height:58px;width:20em; margin:.4em .75em .5em;float:{{{placing|right}}};background-color:#262626; border-color:#3C3D3E;">
 
<div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;padding:.5em;min-height:58px;width:20em; margin:.4em .75em .5em;float:{{{placing|right}}};background-color:#262626; border-color:#3C3D3E;">
 
<p style="float:left;margin:0;padding:5px;">
 
<p style="float:left;margin:0;padding:5px;">
[[File:{{{image|Game icon {{{app}}}.png}}}|65px|link=http://store.steampowered.com/app/{{{app}}}/]]
+
[[File:{{{image|Game icon {{{app}}}.png}}}|65px|link=http://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/]]
 
</p>
 
</p>
 
<p style="overflow:auto;text-align:left;">
 
<p style="overflow:auto;text-align:left;">
Line 49: Line 49:
 
         | zh-hans = 安装   
 
         | zh-hans = 安装   
 
       }}</span>]|}}
 
       }}</span>]|}}
[http://store.steampowered.com/app/{{{app}}}/ <span style="color:white; font-weight:bold; padding:0 3px; background-color:#73A234; -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;">{{lang
+
[http://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/ <span style="color:white; font-weight:bold; padding:0 3px; background-color:#73A234; -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;">{{lang
 
   | en = Details
 
   | en = Details
 
   | cs = Detaily
 
   | cs = Detaily

Revision as of 10:05, 22 September 2016

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.