Difference between revisions of "CompanyHistoryBlock"

From Sega Retro

(Created page with "<includeonly>{{#vardefine:currentTest|{{CompanyHistory|{{{1|}}}|format={{{format}}}}}}}{{ #if:{{#var:results}}| ==={{{format}}}=== {{#var:currentTest}} }}</includeonly><noincl...")
 
(this might be faster... maybe)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:currentTest|{{CompanyHistory|{{{1|}}}|format={{{format}}}}}}}{{
+
<includeonly>{{#if:{{#var:formatlist}}|{{#if:{{#pos:{{#var:formatlist}}|{{{format|}}},}}|{{#vardefine:printblock|yes}}|}}|{{#vardefine:printblock|yes}}}}{{#if:{{#var:printblock}}|{{#vardefine:currentTest|{{CompanyHistory|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}||type={{{type|}}}|role={{{role|}}}|format={{{format}}}}}}}{{
 
#if:{{#var:results}}|
 
#if:{{#var:results}}|
==={{{format}}}===
+
<nowiki></nowiki>
 +
{{#ifeq:{{{type|}}}|hardware||===[[{{{format}}}]]===}}
 
{{#var:currentTest}}
 
{{#var:currentTest}}
}}</includeonly><noinclude>[[Category:Sega Retro templates]]</noinclude>
+
 
 +
}}}}{{clearvar|printblock}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 04:21, 2 July 2024