Difference between revisions of "Template:Get on Steam"
m (fix) |
Moussekateer (talk | contribs) (Since this template is used exclusively on the game pages this code would always link to the same page) |
||
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;">''' | + | <span style="color:white; font-size:20px;">'''{{{game}}}'''</span><br/> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}'''</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 03:01, 14 May 2012
{{{game}}}
Details
Documentation for Get on Steam
Contents
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.
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Get on Steam/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: es, fr, ko, nl, pl, pt-br, ru, zh-hant, fi (add) |