Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
<div class="plainlinks">
+
<includeonly><div class="plainlinks">
 
<div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;padding:.5em;min-height:58px;width:20em; margin:.4em .75em .5em;float:{{{placing|right}}};background-color:#262626; border-color:#3C3D3E;">
 
<div style="border-width:1px;border-style:solid;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;padding:.5em;min-height:58px;width:20em; margin:.4em .75em .5em;float:{{{placing|right}}};background-color:#262626; border-color:#3C3D3E;">
 
<p style="float:left;margin:0;padding:5px;">
 
<p style="float:left;margin:0;padding:5px;">
Line 92: Line 92:
  
  
<noinclude>
+
</includeonly><noinclude>
{{doc begin}}__TOC__
+
{{translation switching|cs, es, fr, hu, ko, ja, nl, pl, pt-br, ru, tr, zh-hant, fi, zh-hans}}
Displays a status box on your mod's page, and adds it to the appropriate categories. Some information is loaded from [[Template:Dictionary/Gameinfo]].
+
{{doc begin}}
 +
Displays a status box on your mod's page, and adds it to the appropriate categories. Some information is loaded from {{tl|Dictionary/gameinfo}}.
  
<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 />
+
== Usage ==
| app = ''440'' // Game's app-number on Steam<br />
+
<pre>
| series = ''<l4d/p>'' // Left 4 Dead or Portal series.<br />
+
{{Get on Steam
| part = ''<yes/no> // For 2-part games (L4D, Portal)<br />
+
| app = ''500'' // Game's app-number on Steam
| app2 = ''550'' // Second part of game.<br />
+
| series = ''<l4d/p>'' // Left 4 Dead or Portal series.
| placing = ''<left/right/center>'' // placing of the box. Default value is ''right''. <br />
+
| part = ''<yes/no> // For 2-part games (L4D, Portal)
&#125;&#125;</code></p>
+
| app2 = ''550'' // Second part of game.
 
+
| placing = ''<left/right/center>'' // placing of the box. Default value is ''right''.
'''Example:'''
+
}}
* See source for template code.
+
</pre>
 
{{Get on Steam
 
{{Get on Steam
| app = 92800
+
| app = 500
|
+
| series = l4d
 +
| part = yes
 +
| app2 = 550
 +
| placing = left
 
}}
 
}}
 
+
{{clr}}
 
+
== Images ==
{{translation switching|cs, es, fr, hu, ko, ja, nl, pl, pt-br, ru, tr, zh-hant, fi, zh-hans}}
+
Images associated with games (such as [[:File:Dota 2.png]]) should redirect to an image with the game id (such as [[:File:Game icon 570.png]]), which is where the images should actually be stored.
 
</noinclude>
 
</noinclude>

Revision as of 13:38, 30 October 2014

Documentation for Get on Steam

Displays a status box on your mod's page, and adds it to the appropriate categories. Some information is loaded from {{Dictionary/gameinfo}}.

Usage

{{Get on Steam
| app = ''500'' // Game's app-number on Steam
| series = ''<l4d/p>'' // Left 4 Dead or Portal series.
| part = ''<yes/no> // For 2-part games (L4D, Portal)
| app2 = ''550'' // Second part of game.
| placing = ''<left/right/center>'' // placing of the box. Default value is ''right''.
}}


Images

Images associated with games (such as File:Dota 2.png) should redirect to an image with the game id (such as File:Game icon 570.png), which is where the images should actually be stored.