Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
(On second thoughts. Forget the price.)
Line 6: Line 6:
 
<p style="overflow:auto;text-align:left;">
 
<p style="overflow:auto;text-align:left;">
 
<span style="color:white; font-size:20px;">'''{{{game}}}'''</span><br/>
 
<span style="color:white; font-size:20px;">'''{{{game}}}'''</span><br/>
<span style="color:#D6D7D8; font-size:10px;">{{#ifeq:{{{get}}}|free|Free to play|{{#switch:{{SUBPAGENAME}}
+
{{#ifeq:{{{get}}}|free|<span style="color:#D6D7D8; font-size:10px;">Free to play</span>}}<br/>
| no|pt|ro|fr|it|hu|es|nl|pl|de|fi = {{#if:{{{EUR|}}}|{{{EUR}}}€}}{{#if:{{{USD|}}}|&nbsp;/ ${{{USD}}}}}{{#if:{{{GBP|}}}|&nbsp;/ £{{{GBP}}}}}
 
| #default = {{#if:{{{USD|}}}|${{{USD}}}}}{{#if:{{{GBP|}}}|&nbsp;/ £{{{GBP}}}}}{{#if:{{{EUR|}}}|&nbsp;/ {{{EUR}}}€}}
 
}}}}</span><br/>
 
 
{{#ifeq:{{{get}}}|free|[steam://install/{{{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
 
{{#ifeq:{{{get}}}|free|[steam://install/{{{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 = Install
 
         | en = Install

Revision as of 19:23, 14 August 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 // Second part of game.
| series = <l4d/p> // 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 = Steam_tray.png // Image in the box
| placing = <left/right/center> // placing of the box. Default value is right.
}}

Example:

  • See source for template code.