Difference between revisions of "CompanyHistoryBlock"

From Sega Retro

(this might be faster... maybe)
 
Line 1: Line 1:
<includeonly>{{#vardefine:currentTest|{{CompanyHistory|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}||type={{{type|}}}|role={{{role|}}}|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}}|
 
<nowiki></nowiki>
 
<nowiki></nowiki>
Line 5: Line 5:
 
{{#var:currentTest}}
 
{{#var:currentTest}}
  
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
+
}}}}{{clearvar|printblock}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 04:21, 2 July 2024