Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
Line 7: Line 7:
 
<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}}
 
<span style="color:#D6D7D8; font-size:10px;">{{#ifeq:{{{get}}}|free|Free to play|{{#switch:{{SUBPAGENAME}}
| no|pt|ro|fr|it|hu|es|nl|pl|de|fi = {{{EUR}}}€ / ${{{USD}}} / £{{{GBP}}}
+
| no|pt|ro|fr|it|hu|es|nl|pl|de|fi = {{#if:{{{EUR|}}}|{{{EUR}}}€ /&nbsp;}}{{#if:{{{USD|}}}|${{{USD}}} /&nbsp;}}{{#if:{{{GBP|}}}|£{{{GBP}}}}}
| #default = ${{{USD}}} / £{{{GBP}}} / {{{EUR}}}€
+
| #default = {{#if:{{{USD|}}}|${{{USD}}} /&nbsp;}}{{#if:{{{GBP|}}}|£{{{GBP}}} /&nbsp;}}{{#if:{{{EUR|}}}|{{{EUR}}}€}}
 
}}}}</span><br/>
 
}}}}</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

Revision as of 18:56, 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.