Difference between revisions of "Development:Infobox game"
From PCGamingWiki, the wiki about fixing PC games
m (HLTB fix) |
(1:1 with live) |
||
Line 71: | Line 71: | ||
}} | <span class="error">Error: Invalid JSON.</span> ||<div title="{{PAGENAME}} on Co-Optimus" class="plainlinks template-infobox-icon svg-icon infobox-cooptimus">[https://www.co-optimus.com/game/{{#external_value:coopgameid}}/pc/{{#external_value:coopurl}}.html ]</div>}} }}--><!-- | }} | <span class="error">Error: Invalid JSON.</span> ||<div title="{{PAGENAME}} on Co-Optimus" class="plainlinks template-infobox-icon svg-icon infobox-cooptimus">[https://www.co-optimus.com/game/{{#external_value:coopgameid}}/pc/{{#external_value:coopurl}}.html ]</div>}} }}--><!-- | ||
-->{{#if: {{{gogcom id|}}} | <div title="{{PAGENAME}} in GOG Database" class="plainlinks template-infobox-icon svg-icon infobox-gogdb">[https://www.gogdb.org/product/{{{gogcom id|}}} ]</div> {{#if:{{#var:Windows DOSBox}}{{#var:OS X DOSBox}}{{#var:Linux DOSBox}}|{{#ifeq:{{#show: {{PAGENAME}} | ?Cloud support GOG Galaxy}}|true|{{#vardefine:GOG.com DOSBox cloud|true}}}}}}}}<!-- | -->{{#if: {{{gogcom id|}}} | <div title="{{PAGENAME}} in GOG Database" class="plainlinks template-infobox-icon svg-icon infobox-gogdb">[https://www.gogdb.org/product/{{{gogcom id|}}} ]</div> {{#if:{{#var:Windows DOSBox}}{{#var:OS X DOSBox}}{{#var:Linux DOSBox}}|{{#ifeq:{{#show: {{PAGENAME}} | ?Cloud support GOG Galaxy}}|true|{{#vardefine:GOG.com DOSBox cloud|true}}}}}}}}<!-- | ||
− | -->{{#if: {{ | + | -->{{#if: {{{hltb|{{#var:hltb|}}}}} | <div title="{{PAGENAME}} on HowLongToBeat" class="template-infobox-icon svg-icon infobox-hltb">[[File:Icon overlay.png|link=https://howlongtobeat.com/game?id={{{hltb|{{#var:hltb|}}}}}|{{PAGENAME}} on HowLongToBeat]]</div>}}<!-- |
-->{{#if: {{#var:igdb|{{{igdb|}}}}} | <div title="{{PAGENAME}} on IGDB" class="template-infobox-icon svg-icon infobox-igdb">[[File:Icon overlay.png|link=https://www.igdb.com/games/{{{igdb|{{#var:igdb|}}}}}|{{PAGENAME}} on IGDB]]</div>}}<!-- | -->{{#if: {{#var:igdb|{{{igdb|}}}}} | <div title="{{PAGENAME}} on IGDB" class="template-infobox-icon svg-icon infobox-igdb">[[File:Icon overlay.png|link=https://www.igdb.com/games/{{{igdb|{{#var:igdb|}}}}}|{{PAGENAME}} on IGDB]]</div>}}<!-- | ||
-->{{#if: {{#var:ITAD match}} | {{#ifeq: {{#var:ITAD match}} | {{#external_value:itad}} | | <div title="{{PAGENAME}} on IsThereAnyDeal" class="plainlinks template-infobox-icon svg-icon infobox-itad">[https://isthereanydeal.com/game/{{#var:ITAD match}}/info/ ]</div>{{#vardefine:ITAD match|}}}}}}<!-- | -->{{#if: {{#var:ITAD match}} | {{#ifeq: {{#var:ITAD match}} | {{#external_value:itad}} | | <div title="{{PAGENAME}} on IsThereAnyDeal" class="plainlinks template-infobox-icon svg-icon infobox-itad">[https://isthereanydeal.com/game/{{#var:ITAD match}}/info/ ]</div>{{#vardefine:ITAD match|}}}}}}<!-- |
Revision as of 23:30, 22 April 2020
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).
Visit Development:Infobox game/Documentation to edit this text. (How does this work?)