Actions

Template

Difference between revisions of "Romtable"

From NEC Retro

(Created page with "<includeonly>{| class="breakout sortable" style="width:auto" ! <small>System</small> !!class="unsortable"| <small>Hash</small> !! <small>Size</small> !! <small>Build Date</sma...")
 
Line 1: Line 1:
<includeonly>{| class="breakout sortable" style="width:auto"
+
<includeonly>{{#vardefine:founddump|}}{| class="responsive breakout sortable" style="width:auto"
! <small>System</small> !!class="unsortable"| <small>Hash</small> !! <small>Size</small> !! <small>Build Date</small> !!class="unsortable"| <small>Source</small> !!class="unsortable"| <small>Comments</small> !!class="unsortable"| !!class="unsortable"|
+
! <small>System</small> !!class="unsortable"| <small>Hash</small> !! <small>Size</small> !! <small>Build Date</small> !!class="unsortable"| <small>Source</small> !!class="unsortable"| <small>Comments</small> !!class="unsortable"| !!class="unsortable"| !!class="unsortable"|
{{{1}}}
+
{{#if:{{{1|}}}|{{{1}}}|[[Category:No ROM dumps]]}}{{#if:{{#var:founddump}}||[[Category:Missing ROM dumps]]}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
 
{{romtable|
 
{{romtable|
{{rom|ICON|sha1=|md5=|crc32=|size=|date=|source=|comments=|icon=|quality=|prototype=}}
+
{{rom|ICON|sha1=|md5=|crc32=|size=|date=|source=|comments=|icon=|quality=|prototype=|protoname=}}
 
...
 
...
 
}}
 
}}
 
</pre>
 
</pre>
* '''ICON''' - Console icon such as "PCE" for {{raw:cdn:PCE}} or "SGX" for {{SGX}}.
+
* '''ICON''' - Console icon such as "PCE" for {{PCE}} or "SGX" for {{SGX}}.
 
* '''sha1''' - SHA-1 for the ROM file.
 
* '''sha1''' - SHA-1 for the ROM file.
 
* '''md5''' - MD5 for the ROM file.
 
* '''md5''' - MD5 for the ROM file.
Line 21: Line 21:
 
* '''quality''' - "good" if the dump is 100% correct, "bad" if the dump is corrupt or has been edited.
 
* '''quality''' - "good" if the dump is 100% correct, "bad" if the dump is corrupt or has been edited.
 
* '''prototype''' - "yes" is the ROM is a prototype.
 
* '''prototype''' - "yes" is the ROM is a prototype.
 +
* '''protoname''' - Name of the prototype, if one exists. Link will be automatically generated if only a date is provided.
  
 
[[Category:NEC Retro templates]]
 
[[Category:NEC Retro templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:03, 31 December 2021

Usage

{{romtable|
{{rom|ICON|sha1=|md5=|crc32=|size=|date=|source=|comments=|icon=|quality=|prototype=|protoname=}}
...
}}
  • ICON - Console icon such as "PCE" for
    PC Engine
    or "SGX" for
    PC Engine SuperGrafx
    .
  • sha1 - SHA-1 for the ROM file.
  • md5 - MD5 for the ROM file.
  • crc32 - CRC32 for the ROM file.
  • size - Size of the ROM file.
  • date - Build date of the ROM file, according to the ROM header.
  • source - Source of the file (cartridge, CD ROM, digital download).
  • comments - Notes about the release, including revision numbers.
  • icon - Icon image file found within the ROM (where applicable, e.g. Nintendo DS).
  • quality - "good" if the dump is 100% correct, "bad" if the dump is corrupt or has been edited.
  • prototype - "yes" is the ROM is a prototype.
  • protoname - Name of the prototype, if one exists. Link will be automatically generated if only a date is provided.