Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | ||
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
− | {{#if:{{{ | + | {{#if:{{{steamappid|}}}|<div class="portrait300px">https://cdn.cloudflare.steamstatic.com/steam/apps/{{{steamappid}}}/library_600x900_2x.jpg</div>}} |
{| | {| | ||
− | |{{#if:{{{ | + | |{{#if:{{{steamappid|}}}{{{gogurl|}}}| |
<!-- First element --> | <!-- First element --> | ||
{{!}}'''Storefronts''' | {{!}}'''Storefronts''' | ||
{{!!}} | {{!!}} | ||
− | {{#if:{{{ | + | {{#if:{{{steamappid|}}}| |
{{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs| | {{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs| | ||
− | [[Image:Steam_logo.svg|24px|link= | + | [[Image:Steam_logo.svg|24px|link=https://store.steampowered.com/app/{{{steamappid}}}]]}}[[Category:On Steam]] |
}} | }} | ||
{{#if:{{{gogurl|}}}| | {{#if:{{{gogurl|}}}| |
Revision as of 05:08, 7 July 2022
Infobox