Difference between revisions of "Template:Infobox"

From FEX-Emu Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
     <!-- First element -->
 
     <!-- First element -->
 
     {{!}}'''Storefronts'''
 
     {{!}}'''Storefronts'''
}}
+
{{!!}}
 
+
{{#if:{{{steamurl}}}|
|{{#if:{{{steamurl}}}|
 
 
{{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs|
 
{{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs|
[[Image:Steam_logo.svg|25px|link=$1]]}}|
+
[[Image:Steam_logo.svg|25px|link=$1]]}}
 
}}
 
}}
 
+
{{#if:{{{gogurl}}}|
|{{#if:{{{gogurl}}}|
 
 
{{#regex:{{{gogurl}}}|/([^,]+)(,? ?)/rs|
 
{{#regex:{{{gogurl}}}|/([^,]+)(,? ?)/rs|
[[Image:Gog_logo.svg|25px|link=$1]]}}|
+
[[Image:Gog_logo.svg|25px|link=$1]]}}
 +
}}
 +
{{!}}</tr>
 
}}
 
}}
  
|{{#if:{{{steamurl|gogurl}}}|
 
  </tr>
 
}}
 
 
|{{#if:{{{developer|}}}
 
|{{#if:{{{developer|}}}
 
     |<!--True Half Of Developer title rip -->
 
     |<!--True Half Of Developer title rip -->

Revision as of 00:28, 17 October 2020

Infobox
Storefronts

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