Difference between revisions of "CompanyHistoryAll"

From Sega Retro

 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><div style="display:none;">{{#vardefine:historyCount|0}}{{#ifeq:{{{type|}}}|hardware|{{#vardefine:contents|{{
 
<includeonly><div style="display:none;">{{#vardefine:historyCount|0}}{{#ifeq:{{{type|}}}|hardware|{{#vardefine:contents|{{
 
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|type=hardware|format=hardware}}}}|{{#vardefine:contents|{{
 
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|type=hardware|format=hardware}}}}|{{#vardefine:contents|{{
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|type={{{type|}}}|format=Slot machine}}{{
+
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|type={{{type|}}}|role={{{role|}}}|format=Slot machine}}{{
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|type={{{type|}}}|format=Electro-mechanical arcade}}{{
+
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|type={{{type|}}}|role={{{role|}}}|format=Electro-mechanical arcade}}{{
CompanyHistoryBlock|{{{1|}}}|{{{2|}}}|{{{3|}
+
CompanyHistoryBlock|{{{1|}}}|{{{2|}
 
}}}}</div>{{multicol|{{#var:contents}}
 
}}}}</div>{{multicol|{{#var:contents}}
|cols={{#ifexpr:{{#var:historyCount}} > 8|{{#ifexpr:{{#var:historyCount}} > 20|{{#ifexpr:{{#var:historyCount}} > 50|4|3}}|2}}|}}
+
|cols={{MulticolColumnCalc|{{#var:historyCount}}}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  
Line 175: Line 188:
 
{{CompanyHistoryAll|Sega AM2|AM2 of CRI|Sega-AM2}}
 
{{CompanyHistoryAll|Sega AM2|AM2 of CRI|Sega-AM2}}
  
[[Category:Sega Retro templates]]
+
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:11, 4 September 2023


Template for displaying the entire release history of a company:

{{CompanyHistoryAll|Sega AM2|AM2 of CRI|Sega-AM2}}

becomes:

System 32

Model 1

Model 2

Sega Titan Video

Model 3

NAOMI Multiboard

NAOMI 2 GD-ROM

Mega Drive

Saturn

Dreamcast

PlayStation 2

GameCube

Windows PC