Difference between revisions of "Template:Get on Steam"
m (added notice for needed 'Free to Play' translations) |
m |
||
Line 1: | Line 1: | ||
<includeonly><div class="plainlinks"> | <includeonly><div class="plainlinks"> | ||
− | <div style=" | + | <div style="background:#1b2838;position:relative;padding:8px;min-height:58px;float:{{{placing|right}}};-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;width:260px"> |
<p style="float:left;margin:0;padding:5px;"> | <p style="float:left;margin:0;padding:5px;"> | ||
− | [[File:{{{image|Game icon {{{app}}}.png}}}|65px|link= | + | [[File:{{{image|Game icon {{{app}}}.png}}}|65px|link=https://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/]] |
</p> | </p> | ||
<p style="overflow:auto;text-align:left;"> | <p style="overflow:auto;text-align:left;"> | ||
Line 10: | Line 10: | ||
| ar = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}}}} | | 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}}}} | | cs = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}} | ||
− | | de = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | de = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Kostenlos spielbar|{{gameinfo|{{{app}}}|price-eur}}}} |
| es = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-usd}} / {{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}}|-| | + | | fi = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Ilmaispeli|{{gameinfo|{{{app}}}|price-eur}}}} |
− | | fr = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | fr = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuit (F2P)|{{gameinfo|{{{app}}}|price-eur}}}} |
− | | hu = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | hu = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Ingyenes|{{gameinfo|{{{app}}}|price-eur}}}} |
| it = {{#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}}|-| | + | | ja = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|無料プレイ|{{gameinfo|{{{app}}}|price-usd}}}} |
− | | ko = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | ko = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|무료|{{gameinfo|{{{app}}}|price-usd}}}} |
− | | nl = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | nl = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis te spelen|{{gameinfo|{{{app}}}|price-eur}}}} |
− | | no = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | no = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis å spille|{{gameinfo|{{{app}}}|price-eur}}}} |
| pl = {{#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}}|-| | + | | pt = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Grátis para Jogar|{{gameinfo|{{{app}}}|price-eur}}}} |
− | | pt-br = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuito para | + | | pt-br = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuito para jogar|{{gameinfo|{{{app}}}|price-bri}}}} |
− | | ro = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | ro = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuit|{{gameinfo|{{{app}}}|price-eur}}}} |
− | | ru = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | ru = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Бесплатно|{{gameinfo|{{{app}}}|price-rub}}}} |
− | | sv = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | sv = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis att spela|{{gameinfo|{{{app}}}|price-eur}}}} |
− | | tr = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | tr = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Oynaması Ücretsiz|{{gameinfo|{{{app}}}|price-usd}}}} |
− | | zh-hant = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | zh-hant = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|免費遊玩|{{gameinfo|{{{app}}}|price-usd}} / {{gameinfo|{{{app}}}|price-rub}}}} |
− | | zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-| | + | | zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|免费开玩|{{gameinfo|{{{app}}}|price-usd}}}} |
}}}}</span><br/> | }}}}</span><br/> | ||
− | {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="border: | + | {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="border-radius:2px;border:none;padding:2px 5px;display:inline-block;cursor:pointer;text-decoration:none!important;color:#D2E885!important;background:#799905;background:-webkit-linear-gradient(top,#799905 5%,#536904 95%);background:linear-gradient(to bottom,#799905 5%,#536904 95%);font-size:13px">{{lang |
| en = Install | | en = Install | ||
| cs = Instalovat | | cs = Instalovat | ||
Line 49: | Line 49: | ||
| zh-hans = 安装 | | zh-hans = 安装 | ||
}}</span>]|}} | }}</span>]|}} | ||
− | [ | + | [https://store.steampowered.com/{{#switch:{{{bundle}}}|yes=sub|app}}/{{{app}}}/ <span style="border-radius:2px;border:none;padding:2px 5px;display:inline-block;cursor:pointer;text-decoration:none!important;color:#D2E885!important;background:#799905;background:-webkit-linear-gradient(top,#799905 5%,#536904 95%);background:linear-gradient(to bottom,#799905 5%,#536904 95%);font-size:13px">{{lang |
| en = Details | | en = Details | ||
| cs = Detaily | | cs = Detaily | ||
Line 68: | Line 68: | ||
}}{{#switch: {{{series}}} | l4d = (L4D) | p = (P1)}}</span>] | }}{{#switch: {{{series}}} | l4d = (L4D) | p = (P1)}}</span>] | ||
{{#switch: {{{part}}} | {{#switch: {{{part}}} | ||
− | | yes = [ | + | | yes = [https://store.steampowered.com/app/{{{app2}}}/ <span style="border-radius:2px;border:none;padding:2px 5px;display:inline-block;cursor:pointer;text-decoration:none!important;color:#D2E885!important;background:#799905;background:-webkit-linear-gradient(top,#799905 5%,#536904 95%);background:linear-gradient(to bottom,#799905 5%,#536904 95%);font-size:13px">{{lang |
| en = Details | | en = Details | ||
| cs = Detaily | | cs = Detaily | ||
Line 90: | Line 90: | ||
</div> | </div> | ||
</div> | </div> | ||
− | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{translation switching|en, cs, es, fi, fr, hu, it, ja, ko, nl, pl, pt-br, ru, tr, zh-hans, zh-hant}} | {{translation switching|en, cs, es, fi, fr, hu, it, ja, ko, nl, pl, pt-br, ru, tr, zh-hans, zh-hant}} | ||
− | |||
{{doc begin}} | {{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}}. | Displays a status box on your mod's page, and adds it to the appropriate categories. Some information is loaded from {{tl|Dictionary/gameinfo}}. |
Revision as of 21:53, 17 September 2018
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: en, cs, es, fi, fr, hu, it, ja, ko, nl, pl, pt-br, ru, tr, zh-hans, zh-hant (add) |
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.