Difference between revisions of "Template:Infobox"

From FEX-Emu Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
{{#if:{{{steamurl}}}|
 
{{#if:{{{steamurl}}}|
 
{{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs|
 
{{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs|
[[Image:Steam_logo.svg|25px|link=$1]]}}
+
[[Image:Steam_logo.svg|25px|link=$1]]}}[[Category:On Steam]]
 
}}
 
}}
 
{{#if:{{{gogurl}}}|
 
{{#if:{{{gogurl}}}|
 
{{#regex:{{{gogurl}}}|/([^,]+)(,? ?)/rs|
 
{{#regex:{{{gogurl}}}|/([^,]+)(,? ?)/rs|
[[Image:Gog_logo.svg|25px|link=$1]]}}
+
[[Image:Gog_logo.svg|25px|link=$1]]}}[[Category:On GOG]]
 
}}
 
}}
 
{{!}}</tr>
 
{{!}}</tr>

Revision as of 04:36, 19 October 2020

Infobox
Storefronts

link={{{steamurl}}} link={{{gogurl}}}