Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
m (fix)
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
</p>
 
</p>
 
<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;">'''{{#ifeq:{{lc:{{PAGENAME}}}}
 +
|{{lc:{{{game}}}}}{{if lang}}
 +
|{{{game}}}
 +
|{{#ifexist:{{{game}}}
 +
  |[[{{{game}}}{{if lang}}|{{{game}}}]]
 +
  |{{{game}}}
 +
  }}
 +
}}'''</span><br/>
 
{{#ifeq:{{{get}}}|free|<span style="color:#D6D7D8; font-size:10px;">Free to play</span><br/>}}
 
{{#ifeq:{{{get}}}|free|<span style="color:#D6D7D8; font-size:10px;">Free to play</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 02:51, 14 May 2012


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.