Difference between revisions of "Template:Get on Steam"
ShadowMan44 (talk | contribs) m |
|||
| (47 intermediate revisions by 29 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=" | + | <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: | + | <p style="overflow:auto;text-align:left;padding-left: 13px;"> |
| − | [[File:{{{image| | + | <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: | + | | ar = {{#ifeq:{{gameinfo|{{{app}}}|price-sar}}|-|مجاني للعب|{{gameinfo|{{{app}}}|price-usd}}}} |
| − | <span style="color:# | + | | cs = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}} |
| − | | | + | | 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}}}} |
| − | }}}}</span><br | + | | fi = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Ilmaispeli|{{gameinfo|{{{app}}}|price-eur}}}} |
| − | {{#ifeq:{{{ | + | | fr = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuit (F2P)|{{gameinfo|{{{app}}}|price-eur}}}} |
| − | + | | hu = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Ingyenes|{{gameinfo|{{{app}}}|price-eur}}}} | |
| − | + | | it = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{gameinfo|{{{app}}}|price-eur}}}} | |
| − | + | | ja = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|無料プレイ|{{gameinfo|{{{app}}}|price-jpy}}}} | |
| − | + | | ko = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|무료|{{gameinfo|{{{app}}}|price-krw}}}} | |
| − | + | | nl = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis te spelen|{{gameinfo|{{{app}}}|price-eur}}}} | |
| − | + | | no = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis å spille|{{gameinfo|{{{app}}}|price-eur}}}} | |
| − | + | | pl = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Za darmo|{{gameinfo|{{{app}}}|price-pln}}}} | |
| − | + | | pt = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Grátis para Jogar|{{gameinfo|{{{app}}}|price-eur}}}} | |
| − | + | | pt-br = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuito para jogar|{{gameinfo|{{{app}}}|price-brl}}}} | |
| − | + | | ro = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratuit|{{gameinfo|{{{app}}}|price-eur}}}} | |
| − | + | | ru = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Бесплатно|{{gameinfo|{{{app}}}|price-rub}}}} | |
| − | [ | + | | sv = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Gratis att spela|{{gameinfo|{{{app}}}|price-eur}}}} |
| − | | en = Details | + | | tr = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|Oynaması Ücretsiz|{{gameinfo|{{{app}}}|price-usd}}}} |
| + | | zh-hans = {{#ifeq:{{gameinfo|{{{app}}}|price-usd}}|-|免费游玩|{{gameinfo|{{{app}}}|price-cny}}}} | ||
| + | | zh-hant = {{#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 | ||
| + | | ar = تحميل | ||
| + | | cs = Instalovat | ||
| + | | de = Installieren | ||
| + | | es = Instalar | ||
| + | | fi = Asenna | ||
| + | | fr = Installer | ||
| + | | hu = Telepíteni | ||
| + | | it = Installa | ||
| + | | ja = インストール | ||
| + | | ko = 설치 | ||
| + | | nl = Installeer | ||
| + | | pl = Zainstaluj | ||
| + | | pt = Instalar | ||
| + | | pt-br = Instalar | ||
| + | | ro = Instalează | ||
| + | | ru = Установить | ||
| + | | tr = Yükle | ||
| + | | zh-hans = 安装 | ||
| + | | zh-hant = 安裝 | ||
| + | }}</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 | ||
| + | | ar = تفاصيل | ||
| + | | cs = Detaily | ||
| + | | de = Details | ||
| es = Detalles | | es = Detalles | ||
| + | | fi = Lisätietoja | ||
| fr = Détails | | fr = Détails | ||
| + | | hu = Részletek | ||
| + | | it = Dettagli | ||
| + | | ja = 詳細 | ||
| + | | ko = 자세히 | ||
| 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-hans = 详情 | ||
| zh-hant = 詳情 | | zh-hant = 詳情 | ||
| − | + | }}{{#switch:{{{series}}} | |
| − | }}{{#switch: {{{series}}} | l4d = (L4D) | p = (P1)}}</span>] | + | | l4d = (L4D) |
| − | {{#switch: {{{part}}} | + | | p = (P1) |
| − | | yes = [ | + | }} </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 | ||
| + | | ar = تفاصيل | ||
| + | | cs = Detaily | ||
| + | | de = Details | ||
| es = Detalles | | es = Detalles | ||
| + | | fi = Lisätietoja | ||
| fr = Détails | | fr = Détails | ||
| + | | hu = Részletek | ||
| + | | it = Dettagli | ||
| + | | ja = 詳細 | ||
| + | | ko = 자세히 | ||
| 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-hans = 详情 | ||
| zh-hant = 詳情 | | zh-hant = 詳情 | ||
| − | + | }}{{#switch:{{{series}}} | |
| − | }}{{#switch: {{{series}}} | l4d = (L4D2) | p = (P2)}}</span>] | + | | l4d = (L4D2) |
| − | | #default =}} | + | | p = (P2) |
| + | }} </span>] | ||
| + | | #default = | ||
| + | }} | ||
| + | </div> | ||
</p> | </p> | ||
</div> | </div> | ||
</div> | </div> | ||
| − | + | </includeonly> | |
| − | |||
<noinclude> | <noinclude> | ||
| − | {{doc begin}} | + | {{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}} | |
| − | + | ||
| − | | app = '' | + | 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 == | |
| − | | series = ''<l4d/p>'' // Left 4 Dead or Portal series. | + | <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) | |
| − | | placing = ''<left/right/center>'' // | + | | app2 = ''550'' // Second App ID |
| − | + | | placing = ''<left/right/center>'' // Placing of the box. Default value is ''right''. | |
| + | }} | ||
| + | </pre> | ||
| − | + | {{Get on Steam | |
| − | + | | app = 500 | |
| − | {{Get on Steam | + | | series = l4d |
| − | + | | part = yes | |
| − | + | | app2 = 550 | |
| − | + | | placing = left | |
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | + | {{clr}} | |
| − | |||
| − | |||
| − | |||
| − | {{ | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:02, 24 March 2025
| 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, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt-br, ro, 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'' // 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''.
}}