Difference between revisions of "CompanyHistoryBlock"
From Sega Retro
(this might be faster... maybe) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:currentTest|{{CompanyHistory|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|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> | ||
− | ===[[{{{format}}}]]=== | + | {{#ifeq:{{{type|}}}|hardware||===[[{{{format}}}]]===}} |
{{#var:currentTest}} | {{#var:currentTest}} | ||
− | }}</includeonly><noinclude>[[Category: | + | }}}}{{clearvar|printblock}}</includeonly><noinclude>[[Category:Templates]]</noinclude> |