Difference between revisions of "Rom"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>|-style="{{#switch:{{{prototype|}}}{{{undumped|}}} | + | <includeonly>{{#vardefine:pagename|{{#titleparts:{{#replace:{{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;}}}}{{#if:{{{prototype|}}}{{{undumped|}}}||{{#vardefine:founddump|yes}}}} | ||
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|}}}|[[{{ | + | | {{#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|{{# | + | |name={{FormatSQL|{{#var:pagename}}}} |
|format={{{1|}}} | |format={{{1|}}} | ||
|sha1={{lc:{{{sha1|}}}}} | |sha1={{lc:{{{sha1|}}}}} | ||
Line 72: | Line 72: | ||
}}{{#ifeq:{{{prototype|}}}|yes| | }}{{#ifeq:{{{prototype|}}}|yes| | ||
{{StorePrototype | {{StorePrototype | ||
− | |name={{# | + | |name={{#var:pagename}} ({{#if:{{{protoname|}}}|{{{protoname|}}}|{{#if:{{{date|}}}|prototype; {{{date|}}}|prototype}}}}) |
− | |final={{# | + | |final={{#var:pagename}} |
|format={{Code2Format|{{{1|}}}}} | |format={{Code2Format|{{{1|}}}}} | ||
|date={{{date|}}} | |date={{{date|}}} |
Revision as of 14:23, 20 March 2023
This template defines the table "roms". View table. See Template:Romtable for usage.