Difference between revisions of "Rom"

From Sega Retro

 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>|-style="{{#switch:{{{prototype|}}}{{{undumped|}}}
+
<includeonly>{{#vardefine:pagename|{{#titleparts:{{#replace:{{StripFormatFromName|{{PAGENAME}}}}|/Technical information|}}}}}}|-style="{{#switch:{{{prototype|}}}{{{undumped|}}}
 
| yesyes=background: repeating-linear-gradient(45deg,#DFEEF7,#DFEEF7 8px,pink 8px,pink 16px);
 
| yesyes=background: repeating-linear-gradient(45deg,#DFEEF7,#DFEEF7 8px,pink 8px,pink 16px);
| {{#switch:{{{prototype|}}}|yes=background: #DFEEF7;}}{{#switch:{{{undumped|}}}|yes=background: pink;}}}}{{#if:{{{prototype|}}}{{{undumped|}}}||{{#vardefine:founddump|yes}}}}
+
| {{#switch:{{{prototype|}}}|yes=background: #DFEEF7;}}{{#switch:{{{undumped|}}}|yes=background: pink;}}}}{{#switch:{{{pirate|}}}|yes=background: #F7F7DF;}}}}{{#if:{{{prototype|}}}{{{undumped|}}}||{{#vardefine:founddump|yes}}}}
 
|style="padding-right:10px"| {{{{{1|}}}}} {{#switch: {{{quality|}}} | good=<span style="color:green">✔</span> | bad=<span style="color:red">✘</span> | n/a= | ? }}
 
|style="padding-right:10px"| {{{{{1|}}}}} {{#switch: {{{quality|}}} | good=<span style="color:green">✔</span> | bad=<span style="color:red">✘</span> | n/a= | ? }}
 
|style="padding:0px"|<div class="toccolours mw-collapsible mw-collapsed">
 
|style="padding:0px"|<div class="toccolours mw-collapsible mw-collapsed">
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|}}}|[[{{#var:pagename}} ({{{protoname|}}})|Page]][[Category:Games with known prototypes]]|{{#if:{{{date|}}}|[[{{#var:pagename}} (prototype; {{Stripref|{{{date|}}}}})|Page]][[Category:Games with known prototypes]]}}}} }}{{#cargo_store:
 
_table = roms
 
_table = roms
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
+
|name={{FormatSQL|{{#var:pagename}}}}
 
|format={{{1|}}}
 
|format={{{1|}}}
 
|sha1={{lc:{{{sha1|}}}}}
 
|sha1={{lc:{{{sha1|}}}}}
Line 70: Line 70:
 
|prototype={{{prototype|}}}
 
|prototype={{{prototype|}}}
 
|undumped={{{undumped|}}}
 
|undumped={{{undumped|}}}
}}{{#if:{{{prototype|}}}|
+
|pirate={{{pirate|}}}
 +
}}{{#ifeq:{{{prototype|}}}|yes|
 
{{StorePrototype
 
{{StorePrototype
|name={{#titleparts:{{PAGENAME}}}} ({{#if:{{{protoname|}}}|{{{protoname|}}}|prototype{{#if:{{{date|}}}|; {{{date|}}}|}} }})
+
|name={{#var:pagename}} ({{#if:{{{protoname|}}}|{{{protoname|}}}|{{#if:{{{date|}}}|prototype; {{{date|}}}|prototype}}}})
|final={{#titleparts:{{PAGENAME}}}}
+
|final={{#var:pagename}}
 
|format={{Code2Format|{{{1|}}}}}
 
|format={{Code2Format|{{{1|}}}}}
 
|date={{{date|}}}
 
|date={{{date|}}}
 
}}
 
}}
|}}</includeonly><noinclude>
+
|}}{{#if:{{#pos:{{PAGENAME}}|Technical information}}|[[Category:{{Code2Format|{{{1|}}}}} game technical information]]|}}</includeonly><noinclude>
 
{{#cargo_declare:
 
{{#cargo_declare:
 
_table = roms
 
_table = roms
Line 92: Line 93:
 
|prototype=Text
 
|prototype=Text
 
|undumped=Text
 
|undumped=Text
 +
|pirate=Text
 
}}
 
}}
 
See [[Template:Romtable]] for usage.
 
See [[Template:Romtable]] for usage.
 
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 11:20, 15 September 2024

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