Difference between revisions of "Rom"

From Sega Retro

(5 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
{| class="breakout" width="100%" style="border:0px; margin:0px;" |
 
{| class="breakout" width="100%" style="border:0px; margin:0px;" |
 
!CRC32
 
!CRC32
|{{#if: {{{crc32|}}}|{{lc:{{{crc32|}}}}} }}
+
|{{#if: {{{crc32|}}}|{{lc:{{{crc32|}}}}}|[[Category:Missing ROM hashes]] }}
 
|-
 
|-
 
!MD5
 
!MD5
|{{#if: {{{md5|}}}|{{lc:{{{md5|}}}}} }}
+
|{{#if: {{{md5|}}}|{{lc:{{{md5|}}}}}|[[Category:Missing ROM hashes]] }}
 
|-
 
|-
 
!SHA-1
 
!SHA-1
|{{#if: {{{sha1|}}}|{{lc:{{{sha1|}}}}} }}
+
|{{#if: {{{sha1|}}}|{{lc:{{{sha1|}}}}}|[[Category:Missing ROM hashes]] }}
 
|}
 
|}
 
</div>
 
</div>
Line 56: Line 56:
 
| {{#if: {{{icon|}}} | [[File:{{{icon|}}}|16px]] }}
 
| {{#if: {{{icon|}}} | [[File:{{{icon|}}}|16px]] }}
 
| {{#if: {{{file|}}} | [[File:Download.svg|16px|link=Special:FilePath/{{{file|}}}]] ({{filesize|{{{file|}}}}}) <small>([[:File:{{{file|}}}|info]])</small> }}
 
| {{#if: {{{file|}}} | [[File:Download.svg|16px|link=Special:FilePath/{{{file|}}}]] ({{filesize|{{{file|}}}}}) <small>([[:File:{{{file|}}}|info]])</small> }}
| {{#ifeq:{{{prototype|}}}|yes|{{#if:{{{protoname|}}}|[[{{PAGENAME}} ({{{protoname|}}})|Page]][[Category:Games with known prototypes]]|{{#if:{{{date|}}}|[[{{PAGENAME}} (prototype; {{{date|}}})|Page]][[Category:Games with known prototypes]]}}}} }}{{#cargo_store:
+
| {{#ifeq:{{{prototype|}}}|yes|{{#if:{{{protoname|}}}|[[{{PAGENAME}} ({{{protoname|}}})|Page]][[Category:Games with known prototypes]]|{{#if:{{{date|}}}|[[{{PAGENAME}} (prototype; {{Stripref|{{{date|}}}}})|Page]][[Category:Games with known prototypes]]}}}} }}{{#cargo_store:
 
_table = roms
 
_table = roms
 
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
 
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
Line 70: Line 70:
 
|prototype={{{prototype|}}}
 
|prototype={{{prototype|}}}
 
|undumped={{{undumped|}}}
 
|undumped={{{undumped|}}}
}}{{#if:{{{prototype|}}}|
+
}}{{#ifeq:{{{prototype|}}}|yes|
{{#cargo_store:
+
{{StorePrototype
_table = prototypes
+
|name={{#titleparts:{{PAGENAME}}}} ({{#if:{{{protoname|}}}|{{{protoname|}}}|{{#if:{{{date|}}}|prototype; {{{date|}}}|prototype}}}})
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}} ({{#if:{{{protoname|}}}|{{{protoname|}}}|{{#if:{{{date|}}}|prototype; {{{date|}}}|prototype}}}})}}
+
|final={{#titleparts:{{PAGENAME}}}}
|final={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
+
|format={{Code2Format|{{{1|}}}}}
|format={{delink|{{#replace:{{Code2Format|{{{1|}}}}}|Sega|}}}}
+
|date={{{date|}}}
|date={{stripref|{{{date|}}}}}
 
 
}}
 
}}
 
|}}</includeonly><noinclude>
 
|}}</includeonly><noinclude>

Revision as of 09:36, 26 November 2022

This template defines the table "roms". View table. See Template:Romtable for usage.