Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
{| | {| | ||
+ | |{{#if:{{{steamurl|gogurl}}}| | ||
+ | <!--True Half Of Developer title rip --> | ||
+ | <!-- First element --> | ||
+ | {{!}}'''Storefronts''' | ||
+ | }} | ||
+ | |||
+ | |{{#ifeq:{{#regex:{{{steamurl}}}|/>/rs|}} | ||
+ | || | ||
+ | {{#regex:{{{steamurl}}}|/([^,]+)(,? ?)/rs| | ||
+ | [$1 Steam]}}| | ||
+ | }} | ||
+ | |||
+ | |{{#ifeq:{{#regex:{{{gogurl}}}|/>/rs|}} | ||
+ | || | ||
+ | {{#regex:{{{gogurl}}}|/([^,]+)(,? ?)/rs| | ||
+ | [$1 GOG]}}| | ||
+ | }} | ||
+ | |||
+ | |{{#if:{{{steamurl|gogurl}}}| | ||
+ | </tr> | ||
+ | }} | ||
|{{#if:{{{developer|}}} | |{{#if:{{{developer|}}} | ||
|<!--True Half Of Developer title rip --> | |<!--True Half Of Developer title rip --> | ||
Line 23: | Line 44: | ||
}} | }} | ||
− | |||
− | |||
− | |||
|{{#if:{{{os|}}}|{{!}}'''Operating Systems'''{{!!}}{{#ifeq:{{#regex:{{{os|}}}|/>/rs|}}|| | |{{#if:{{{os|}}}|{{!}}'''Operating Systems'''{{!!}}{{#ifeq:{{#regex:{{{os|}}}|/>/rs|}}|| | ||
<!--List-->{{#regex:{{{os|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 Games|$1]][[Category:$1 Games]]$2}}</tr>| | <!--List-->{{#regex:{{{os|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 Games|$1]][[Category:$1 Games]]$2}}</tr>| |
Revision as of 22:59, 16 October 2020
Infobox
Storefronts | [{{{steamurl}}} Steam] | [{{{gogurl}}} GOG] | |||