Difference between revisions of "OmniPrereleases/FormatName"

From Sega Retro

 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:currentprotoname|{{#sub:{{{1}}}|{{#expr:{{#pos:{{{1}}}|;}}+1}}}}}}{{
+
<includeonly>{{#vardefine:currentprotoname|{{#if:{{#pos:{{{1}}}|;}}|{{#sub:{{{1}}}|{{#expr:{{#pos:{{{1}}}|;}}+1}}}}|{{ucfirst:{{{1}}}}}}}}}{{
  
 
#ifexpr:{{#len:{{#var:currentprotoname}}}}>=10|{{
 
#ifexpr:{{#len:{{#var:currentprotoname}}}}>=10|{{
Line 15: Line 15:
 
   }}
 
   }}
 
}}
 
}}
|}}{{#var:currentprotoname}}</includeonly><noinclude>Split off because it was starting to get complicated.
+
|}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|SG-1000 prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Master System prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Game Gear prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Mega Drive prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Mega-CD prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|32X prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Saturn prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Dreamcast prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|PlayStation 2 prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|GameCube prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|GameCube NPDP prototype|NPDP prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|GameCube E3|E3}}}}<!-- for Sonic Heroes -->{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Wii prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Xbox prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Xbox E3|E3}}}}<!-- for Sonic Heroes -->{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Xbox 360 prototype|Prototype}}}}{{
 +
#vardefine:currentprotoname|{{#replace:{{#var:currentprotoname}}|Game Boy Advance prototype|Prototype}}}}{{#var:currentprotoname}}</includeonly><noinclude>Split off because it was starting to get complicated.
  
 
This template formats the names of prototypes so they're not excessively wordy in Omni templates.
 
This template formats the names of prototypes so they're not excessively wordy in Omni templates.
Line 49: Line 66:
 
*{{OmniPrereleases/FormatName|prototype; 1995-02-14}}
 
*{{OmniPrereleases/FormatName|prototype; 1995-02-14}}
 
*{{OmniPrereleases/FormatName|prototype; 1995-02-15}}
 
*{{OmniPrereleases/FormatName|prototype; 1995-02-15}}
 +
*{{OmniPrereleases/FormatName|game Gear prototype}}
 +
*{{OmniPrereleases/FormatName|GameCube NPDP prototype}}
 +
*{{OmniPrereleases/FormatName|GameCube E3 version}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:06, 1 January 2024

Split off because it was starting to get complicated.

This template formats the names of prototypes so they're not excessively wordy in Omni templates.

Examples

{{OmniPrereleases/FormatName|Mega Drive prototype; 1994-04-18}}

1994-04-18


  • 12-08
  • 12-14
  • 12-28 SB
  • 1995-01-01 TST
  • 01-03 TST
  • 01-05
  • 01-09 TST
  • 01-10
  • 01-14 RM
  • 01-16
  • 01-18 RM
  • 01-20
  • 01-25
  • 01-30
  • 02-02
  • 02-03
  • 02-07
  • 02-09 B
  • 02-09
  • 02-11
  • 02-12
  • 02-13
  • 02-14
  • 02-15
  • Prototype
  • NPDP prototype
  • E3 version