Difference between revisions of "User:Evanjohnman"

From Team Fortress Wiki
Jump to: navigation, search
(Testing the steam DL thing)
 
(Move test to its own page to test it properly)
 
Line 1: Line 1:
<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;">
 
<p style="float:left;margin:0;padding:5px;">
 
[[File:{{{image|Game icon {{{app}}}.png}}}|65px|link=http://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/]]
 
</p>
 
<p style="overflow:auto;text-align:left;">
 
<span style="color:white; font-size:20px;">'''{{#switch:{{{bundle}}}|yes={{BASEPAGENAME}}|{{gameinfo|{{{app}}}|name}}}}'''</span><br/>
 
<span style="color:#D6D7D8; font-size:15px; font-weight:bold">{{#if:{{{bundle|}}}||{{lang
 
| en =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}} / {{gameinfo|{{{app}}}|price-gbp}} / {{gameinfo|{{{app}}}|price-eur}}}}
 
| ar =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}}
 
| cs =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| de =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| es =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}} / {{gameinfo|{{{app}}}|price-eur}}}}
 
| fi =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| fr =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| hu =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| it =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| ja =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}}
 
| ko =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}}
 
| nl =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| no =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| pl =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| pt =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| pt-br =  {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-bri}}}}
 
| ro =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| ru =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-rub}}}}
 
| sv =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}}
 
| tr =      {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}}
 
| zh-hant = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}} / {{gameinfo|{{{app}}}|price-rub}}}}
 
| zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}}
 
}}}}</span><br/>
 
{{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="color:white; font-family:"Motiva Sans", Sans-serif; font-weight:bold; padding:2px 3px; background-color:#73A234; -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;">{{lang
 
        | en = Install
 
        | cs = Instalovat
 
        | it = Installa
 
        | es = Instalar
 
        | de = Installieren
 
        | fr = Installer
 
        | hu = Telepíteni
 
        | ko = 설치
 
        | nl = Installeer
 
        | pl = Zainstaluj
 
        | pt-br = Instalar
 
        | ru = Установить
 
        | tr = Yükle
 
        | zh-hant = 安裝
 
        | fi = Asenna
 
        | ja = インストール
 
        | zh-hans = 安装 
 
      }}</span>]|}}
 
[http://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|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
 
  | en = Details
 
  | cs = Detaily
 
  | it = Dettagli
 
  | es = Detalles
 
  | ko = 자세히
 
  | fr = Détails
 
  | hu = Részletek
 
  | nl = Details
 
  | pl = Szczegóły
 
  | pt-br = Detalhes
 
  | ru = Подробности
 
  | tr = Ayrıntılar
 
  | zh-hant = 詳情
 
  | fi = Lisätietoja
 
  | ja = 詳細
 
  | zh-hans = 详情
 
}}{{#switch: {{{series}}} | l4d = &nbsp;(L4D) | p = &nbsp;(P1)}}</span>]
 
{{#switch: {{{part}}}
 
| 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
 
  | en = Details
 
  | cs = Detaily
 
  | it = Dettagli
 
  | es = Detalles
 
  | ko = 자세히
 
  | fr = Détails
 
  | hu = Részletek
 
  | nl = Details
 
  | pl = Szczegóły
 
  | pt-br = Detalhes
 
  | ru = Подробности
 
  | tr = Ayrıntılar
 
  | zh-hant = 詳情
 
  | fi = Lisätietoja
 
  | ja = 詳細
 
  | zh-hans = 详情
 
}}{{#switch: {{{series}}} | l4d = &nbsp;(L4D2) | p = &nbsp;(P2)}}</span>]
 
| #default =}}
 
</p>
 
</div>
 
</div>
 
  
 
</includeonly><noinclude>
 
{{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'' // 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''.
 
}}
 
</pre>
 
{{Get on Steam
 
| app = 500
 
| series = l4d
 
| part = yes
 
| app2 = 550
 
| placing = left
 
}}
 
{{clr}}
 
== 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.
 
</noinclude>
 

Latest revision as of 19:50, 28 November 2016