Difference between revisions of "ROMHeaderFormatLine"

From Sega Retro

Line 1: Line 1:
 
<includeonly>{{#switch:{{{type|}}}
 
<includeonly>{{#switch:{{{type|}}}
 
|#default={{#switch:{{#var:lineid}}
 
|#default={{#switch:{{#var:lineid}}
   |1=<!--Company code, date-->
+
   |1=<!--Company code, date-->{{{1|}}}
   |8=<!--Product number and version-->
+
   |8=<!--Product number and version-->{{{1|}}}
   |9=<!--I/O info
+
   |9=<!--I/O info{{{1|}}}
   |15=<!--Regional compatibility-->
+
   |15=<!--Regional compatibility-->{{{1|}}}
 
   |#default={{{1|}}}
 
   |#default={{{1|}}}
 
   }}
 
   }}
 
|SAT={{#switch:{{#var:lineid}}
 
|SAT={{#switch:{{#var:lineid}}
   |2=<!--Product number, version-->
+
   |2=<!--Product number, version-->{{{1|}}}
   |3=<!--Release date, device information-->
+
   |3=<!--Release date, device information-->{{{1|}}}
   |4=<!--Compatible area symbols-->
+
   |4=<!--Compatible area symbols-->{{{1|}}}
   |5=<!--Compatible peripherals-->
+
   |5=<!--Compatible peripherals-->{{{1|}}}
 
   |#default={{{1|}}}
 
   |#default={{{1|}}}
 
   }}
 
   }}
 
|DC={{#switch:{{#var:lineid}}
 
|DC={{#switch:{{#var:lineid}}
   |0=Hardware identifier-->
+
   |0=Hardware identifier-->{{{1|}}}
   |1=Maker ID-->
+
   |1=Maker ID-->{{{1|}}}
   |2=<!--Device information-->
+
   |2=<!--Device information-->{{{1|}}}
   |3=<!--Compatible area symbols, compatible peripherals-->
+
   |3=<!--Compatible area symbols, compatible peripherals-->{{{1|}}}
   |4=<!--Product number, version-->
+
   |4=<!--Product number, version-->{{{1|}}}
   |5=<!--Release date-->
+
   |5=<!--Release date-->{{{1|}}}
   |7=<!--Disc manufacturer-->
+
   |7=<!--Disc manufacturer-->{{{1|}}}
 
   |#default={{{1|}}}
 
   |#default={{{1|}}}
 
   }}
 
   }}
Line 27: Line 27:
  
 
I am being exceedingly lazy with this.
 
I am being exceedingly lazy with this.
 +
a<tt>{{ROMHeaderFormatLine|bums}}</tt>b
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 17:00, 22 April 2023

Format decoded ROM header text so we can have wikilinks and whatever.

I am being exceedingly lazy with this. abumsb