Difference between revisions of "Template:Get on Steam"

From Team Fortress Wiki
Jump to: navigation, search
(by request of TRD)
m (Updated the Romanian translation)
 
(33 intermediate revisions by 19 users not shown)
Line 1: Line 1:
<div class="plainlinks">
+
<includeonly><div class="plainlinks"><br><div style="position:relative;padding:8px;min-height: 76px;float:{{{placing|right}}};background-color: #282e39;border: 1px solid #2d3139;padding: 1px 10px 9px;;max-width: 400px;border-radius: 5px;">
<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-top: 14px;">[[File:{{{image|Game icon {{{app}}}.jpg}}}|x65px|link=https://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/]]</p>
<p style="float:left;margin:0;padding:5px;">
+
<p style="overflow:auto;text-align:left;padding-left: 13px;">
[[File:{{{image|Steam_tray.png}}}|65px|link=http://store.steampowered.com/app/{{{app|440}}}/]]
+
<span style="color: #fefefe;font-size: 17px;">'''{{gameinfo|{{{app}}}|name}}'''</span><br />
</p>
+
<span style="color: #c9c9c9;font-size: 15px;">{{lang
<p style="overflow:auto;text-align:left;">
+
    | en =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}} / {{gameinfo|{{{app}}}|price-gbp}} / {{gameinfo|{{{app}}}|price-eur}}}}
<span style="color:white; font-size:20px;">'''{{{game}}}'''</span><br/>
+
    | ar =      {{#ifeq:{{gameinfo|{{{app}}}|price-sar}}|-|مجاني للعب|{{gameinfo|{{{app}}}|price-usd}}}}
<span style="color:#D6D7D8; font-size:15px; font-weight:bold">{{#ifeq:{{{get}}}|free|Free to play|{{{price}}}}}</span><br/>
+
    | cs =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
{{#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
+
    | de =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Kostenlos spielbar|{{gameinfo|{{{app}}}|price-eur}}}}
        | en = Install
+
    | es =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}} / {{gameinfo|{{{app}}}|price-eur}}}}
        | cs = Instalovat
+
    | fi =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Ilmaispeli|{{gameinfo|{{{app}}}|price-eur}}}}
        | it = Installa
+
    | fr =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuit (F2P)|{{gameinfo|{{{app}}}|price-eur}}}}
        | es = Instalar
+
    | hu =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Ingyenes|{{gameinfo|{{{app}}}|price-eur}}}}
        | de = Installieren
+
    | it =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
        | fr = Installer
+
    | ja =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|無料プレイ|{{gameinfo|{{{app}}}|price-jpy}}}}
        | ko = 설치
+
    | ko =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|무료|{{gameinfo|{{{app}}}|price-krw}}}}
        | nl = Installeer
+
    | nl =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis te spelen|{{gameinfo|{{{app}}}|price-eur}}}}
        | pl = Zainstaluj
+
    | no =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis å spille|{{gameinfo|{{{app}}}|price-eur}}}}
        | pt-br = Instalar
+
    | pl =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Za darmo|{{gameinfo|{{{app}}}|price-pln}}}}
        | ru = Установить
+
    | pt =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Grátis para Jogar|{{gameinfo|{{{app}}}|price-eur}}}}
        | zh-hant = 安裝
+
    | pt-br =  {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuito para jogar|{{gameinfo|{{{app}}}|price-brl}}}}
        | fi = Asenna
+
    | ro =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuit|{{gameinfo|{{{app}}}|price-eur}}}}
      }}</span>]|}}
+
    | ru =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Бесплатно|{{gameinfo|{{{app}}}|price-rub}}}}
[http://store.steampowered.com/app/{{{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  
+
    | sv =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis att spela|{{gameinfo|{{{app}}}|price-eur}}}}
 +
    | tr =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Oynaması Ücretsiz|{{gameinfo|{{{app}}}|price-usd}}}}
 +
    | zh-hant = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|免費遊玩|{{gameinfo|{{{app}}}|price-cny}}}}
 +
    | zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|免费游玩|{{gameinfo|{{{app}}}|price-cny}}}}
 +
    }}
 +
</span>
 +
<br>
 +
<div style="position: absolute;bottom: -20px;right: 10px;">
 +
{{#ifeq: {{gameinfo|{{{app}}}|price-usd}}
 +
|-
 +
| [steam://install/{{{app}}}/ <span style="display: inline-block;height: 27px;font-size: 13px;color: #ffffff;text-align: center;padding: 0px 6px;line-height: 27px;border-radius: 2px;background: #75b022;background: linear-gradient( top, #75b022 5%, #588a1b 95%);background: linear-gradient( to bottom, #75b022 5%, #588a1b 95%);background: linear-gradient( to right, #75b022 5%, #588a1b 95%);cursor: pointer;box-shadow: 2px 2px 10px rgba(0,0,0,0.5)">{{lang
 +
  | en = Install
 +
  | cs = Instalovat
 +
  | it = Installa
 +
  | es = Instalar
 +
  | de = Installieren
 +
  | fr = Installer
 +
  | hu = Telepíteni
 +
  | ko = 설치
 +
  | nl = Installeer
 +
  | pl = Zainstaluj
 +
  | pt = Instalar
 +
  | pt-br = Instalar
 +
  | ro = Instalează
 +
  | ru = Установить
 +
  | tr = Yükle
 +
  | zh-hant = 安裝
 +
  | fi = Asenna
 +
  | ja = インストール
 +
  | zh-hans = 安装 
 +
  | ar = تحميل
 +
}}</span>]
 +
|
 +
}}
 +
[https://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/ <span style="display: inline-block;height: 27px;font-size: 13px;color: #ffffff;text-align: center;padding: 0px 6px;line-height: 27px;border-radius: 2px;background: #75b022;background: linear-gradient( top, #75b022 5%, #588a1b 95%);background: linear-gradient( to bottom, #75b022 5%, #588a1b 95%);background: linear-gradient( to right, #75b022 5%, #588a1b 95%);cursor: pointer;box-shadow: 2px 2px 10px rgba(0,0,0,0.5)">{{lang
 
   | en = Details
 
   | en = Details
 
   | cs = Detaily
 
   | cs = Detaily
 +
  | de = Details
 
   | it = Dettagli
 
   | it = Dettagli
 
   | es = Detalles
 
   | es = Detalles
 
   | ko = 자세히
 
   | ko = 자세히
 
   | fr = Détails
 
   | fr = Détails
 +
  | hu = Részletek
 
   | nl = Details
 
   | nl = Details
 
   | pl = Szczegóły
 
   | pl = Szczegóły
 +
  | pt = Detalhes
 
   | pt-br = Detalhes
 
   | pt-br = Detalhes
 +
  | ro = Detalii
 
   | ru = Подробности
 
   | ru = Подробности
 +
  | tr = Ayrıntılar
 
   | zh-hant = 詳情
 
   | zh-hant = 詳情
 
   | fi = Lisätietoja
 
   | fi = Lisätietoja
}}{{#switch: {{{series}}} | l4d = &nbsp;(L4D) | p = &nbsp;(P1)}}</span>]
+
  | ja = 詳細
{{#switch: {{{part}}}
+
  | zh-hans = 详情
| yes = [http://store.steampowered.com/app/{{{app2}}}/ <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  
+
  | ar = تفاصيل
 +
}}{{#switch:{{{series}}}
 +
  | l4d = &nbsp;(L4D)
 +
  | p = &nbsp;(P1)
 +
}} </span>] {{#switch:{{{part}}}
 +
| yes = [https://store.steampowered.com/app/{{{app2}}}/ <span style="display: inline-block;height: 27px;font-size: 13px;color: #ffffff;text-align: center;padding: 0px 6px;line-height: 27px;border-radius: 2px;background: #75b022;background: linear-gradient( top, #75b022 5%, #588a1b 95%);background: linear-gradient( to bottom, #75b022 5%, #588a1b 95%);background: linear-gradient( to right, #75b022 5%, #588a1b 95%);cursor: pointer;box-shadow: 2px 2px 10px rgba(0,0,0,0.5)">{{lang
 
   | en = Details
 
   | en = Details
 
   | cs = Detaily
 
   | cs = Detaily
 +
  | de = Details
 
   | it = Dettagli
 
   | it = Dettagli
 
   | es = Detalles
 
   | es = Detalles
 
   | ko = 자세히
 
   | ko = 자세히
 
   | fr = Détails
 
   | fr = Détails
 +
  | hu = Részletek
 
   | nl = Details
 
   | nl = Details
 
   | pl = Szczegóły
 
   | pl = Szczegóły
 +
  | pt = Detalhes
 
   | pt-br = Detalhes
 
   | pt-br = Detalhes
 +
  | ro = Detalii
 
   | ru = Подробности
 
   | ru = Подробности
 +
  | tr = Ayrıntılar
 
   | zh-hant = 詳情
 
   | zh-hant = 詳情
 
   | fi = Lisätietoja
 
   | fi = Lisätietoja
}}{{#switch: {{{series}}} | l4d = &nbsp;(L4D2) | p = &nbsp;(P2)}}</span>]
+
  | ja = 詳細
| #default =}}
+
  | zh-hans = 详情
 +
  | ar = تفاصيل
 +
}}{{#switch:{{{series}}}
 +
  | l4d = &nbsp;(L4D2)
 +
  | p = &nbsp;(P2)
 +
}} </span>]
 +
| #default =
 +
}}
 +
</div>
 
</p>
 
</p>
 
</div>
 
</div>
 
</div>
 
</div>
 
+
</includeonly>
 
 
 
<noinclude>
 
<noinclude>
{{doc begin}}__TOC__
+
{{translation switching|en, cs, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt-br, ro, ru, tr, zh-hans, zh-hant}}
Displays a status box on your mod's page, and adds it to the appropriate categories.
+
   
 +
{{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}}.
 +
   
 +
== Usage ==
 +
<pre>
 +
{{Get on Steam
 +
| app = ''500''                    // App ID
 +
| series = ''<l4d/p>''              // Left 4 Dead or Portal series.
 +
| part = ''<yes/no>                // For 2-part games (Left 4 Dead, Portal)
 +
| app2 = ''550''                    // Second App ID
 +
| placing = ''<left/right/center>'' // Placing of the box. Default value is ''right''.
 +
}}
 +
</pre>
  
<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 />
+
{{Get on Steam
| app = ''440'' // Game's app-number on Steam<br />
+
| app = 500
| part = ''<yes/no> // For 2-part games (L4D, Portal)<br />
+
| series = l4d
| app2 = ''550'' // Second part of game.<br />
+
| part = yes
| series = ''<l4d/p>'' // Left 4 Dead or Portal series.<br />
+
| app2 = 550
| game = ''Team Fortress 2'' // Name of the game<br />
+
| placing = left
| price = ''$9.99'' // Price of the game on Steam<br />
 
| get = ''<free/money>'' // Game status on Steam<br />
 
| image = ''Steam_tray.png'' // Image in the box<br />
 
| placing = ''<left/right/center>'' // placing of the box. Default value is ''right''. <br />
 
&#125;&#125;</code></p>
 
 
 
'''Example:'''
 
* See source for template code.
 
{{Get on Steam
 
| app = 92800
 
| game = SpaceChem
 
| price = $14.99 USD
 
| get = money
 
| image = SpaceChem.png
 
|
 
 
}}
 
}}
 
+
{{clr}}
 
 
 
 
 
 
{{translation switching|cs, es, fr, ko, nl, pl, pt-br, ru, zh-hant, fi}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:34, 27 October 2023


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''                     // App ID
| series = ''<l4d/p>''              // Left 4 Dead or Portal series.
| part = ''<yes/no>                 // For 2-part games (Left 4 Dead, Portal)
| app2 = ''550''                    // Second App ID
| placing = ''<left/right/center>'' // Placing of the box. Default value is ''right''.
}}