Difference between revisions of "Template:Infobox"

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

Revision as of 05:02, 7 July 2022

Infobox