Difference between revisions of "ROMHeaderFormatLine/Region"

From Sega Retro

(Created page with "<includeonly>{{ #vardefine:lineoutput|}}{{ #vardefine:lineinput|{{{1}}}}}{{ #vardefine:iterator|0}}{{ #while: | {{#ifexpr:{{#var:iterator}}<16|true}} | {{#vardefine:cur|{{#sub...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
 
#vardefine:lineoutput|}}{{
 
#vardefine:lineoutput|}}{{
#vardefine:lineinput|{{{1}}}}}{{
+
#vardefine:lineinput|{{#replace:{{{1}}}|&nbsp;|_}}}}{{
 
#vardefine:iterator|0}}{{
 
#vardefine:iterator|0}}{{
 
#while:
 
#while:
Line 10: Line 10:
 
   |U=<span title="NTSC-U"><tt>U</tt></span>
 
   |U=<span title="NTSC-U"><tt>U</tt></span>
 
   |E=<span title="PAL"><tt>E</tt></span>
 
   |E=<span title="PAL"><tt>E</tt></span>
 +
  |1=<span title="NTSC-J"><tt>1</tt></span>
 +
  |2=<span title="PAL-J"><tt>2</tt></span>
 +
  |3=<span title="NTSC-J and PAL-J"><tt>3</tt></span>
 +
  |4=<span title="NTSC-U"><tt>4</tt></span>
 +
  |5=<span title="NTSC-J and NTSC-U"><tt>5</tt></span>
 +
  |6=<span title="PAL-J and NTSC-U"><tt>6</tt></span>
 +
  |7=<span title="NTSC-J, PAL-J and NTSC-U"><tt>7</tt></span>
 +
  |8=<span title="PAL"><tt>8</tt></span>
 +
  |9=<span title="NTSC-J and PAL"><tt>9</tt></span>
 +
  |A=<span title="PAL-J and PAL"><tt>A</tt></span>
 +
  |B=<span title="NTSC-J, PAL-J and PAL"><tt>B</tt></span>
 +
  |C=<span title="NTSC-U and PAL"><tt>C</tt></span>
 +
  |D=<span title="NTSC-J, NTSC-U and PAL"><tt>D</tt></span>
 +
  <!--assumption is that E will never appear-->
 +
  |F=<span title="Region-free"><tt>F</tt></span>
 
   |#default=<tt>{{#var:cur}}</tt>
 
   |#default=<tt>{{#var:cur}}</tt>
}}}}{{incvar|iterator}}}}{{#var:lineoutput}}
+
}}}}{{incvar|iterator}}}}{{#replace:{{#var:lineoutput}}|_|&nbsp;}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
  
  
{{ROMHeaderFormatLine/Region|JTUEBUMS}}
+
{{ROMHeaderFormatLine/Region|JTUEBUMS123658BDC}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 16:29, 24 April 2023


JTUEBUMS123658BD