Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
(Doktor is for rescue!)
m
Line 12: Line 12:
 
       }}</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/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
 +
  | ru = Подробности
 +
}} {{#switch: {{{series}}} | l4d = (L4D) | p = (P1)}}</span>]
 +
{{#switch: {{{part|yes}}}
 +
| yes = [http://store.steampowered.com/app/{{{app2}}}/ <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
 
   | ru = Подробности
 
   | ru = Подробности
}}</span>]
+
}} {{#switch: {{{series}}} | l4d = (L4D2) | p = (P2)}}</span>]
 +
| #default =}}
 
</p>
 
</p>
 
</div>
 
</div>
Line 26: Line 32:
 
<p style="text-align:left;margin-left:1.5em;"><span style="float:left;margin-right:.5em;">'''Usage:'''</span><code style="overflow:auto;display:block;">&#123;&#123;Get on Steam <br />
 
<p style="text-align:left;margin-left:1.5em;"><span style="float:left;margin-right:.5em;">'''Usage:'''</span><code style="overflow:auto;display:block;">&#123;&#123;Get on Steam <br />
 
| app = ''440'' // Game's app-number on Steam<br />
 
| app = ''440'' // Game's app-number on Steam<br />
 +
| part = ''<yes/no> // For 2-part games (L4D, Portal)<br />
 +
|  app2 = ''550'' // If <code>part = yes</code>. Second part of game.<br />
 +
|  series = ''<l4d/p>'' // If <code>part = yes</code>. Left 4 Dead or Portal series.<br />
 
| game = ''Team Fortress 2'' // Name of the game<br />
 
| game = ''Team Fortress 2'' // Name of the game<br />
 
| price = ''$9.99'' // Price of the game on Steam<br />
 
| price = ''$9.99'' // Price of the game on Steam<br />
Line 41: Line 50:
 
  | get = money
 
  | get = money
 
  | image = SpaceChem.png
 
  | image = SpaceChem.png
 +
|
 
}}
 
}}
  

Revision as of 07:50, 27 June 2011


Documentation for Get on Steam

Displays a status box on your mod's page, and adds it to the appropriate categories.

Usage:{{Get on Steam
| app = 440 // Game's app-number on Steam
| part = <yes/no> // For 2-part games (L4D, Portal)
| app2 = 550 // If part = yes. Second part of game.
| series = <l4d/p> // If part = yes. Left 4 Dead or Portal series.
| game = Team Fortress 2 // Name of the game
| price = $9.99 // Price of the game on Steam
| get = <free/money> // Game status on Steam
| image = User HugoC Steamlogo.png // Image in the box
| placing = <left/right/center> // placing of the box. Default value is right.
}}

Example:

  • See source for template code.