Difference between revisions of "CDROMID"

From Sega Retro

(Created page with "{{#if:{{{abs|}}}|{{TextFile|filename=Abstract ({{{absname|ABS.TXT}}})|{{{abs|}}}|expand=true}}|This disc has no abstract text file.<br/>}} {{#if:{{{bib|}}}|{{TextFile|filename...")
 
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{abs|}}}|{{TextFile|filename=Abstract ({{{absname|ABS.TXT}}})|{{{abs|}}}|expand=true}}|This disc has no abstract text file.<br/>}}
+
<includeonly>{{#ifeq:{{{noabs|}}}|yes|This disc has no abstract file.<br/>|{{#if:{{{abs|}}}{{{absblank|}}}|{{TextFile|filename=Abstract ({{#if:{{{absname|}}}|{{{absname|}}}|ABS.TXT}})|blankfile={{{absblank|}}}|{{{abs|}}}}}|{{red|This disc needs to be checked for an abstract text file.}}[[Category:Missing CD-ROM identifier]]<br/>}}}}
{{#if:{{{bib|}}}|{{TextFile|filename=Bibliography ({{{bibname|BIB.TXT}}})|{{{bib|}}}|expand=true}}|This disc has no bibliography text file.<br/>}}
+
{{#ifeq:{{{nobib|}}}|yes|This disc has no bibliography file.<br/>|{{#if:{{{bib|}}}{{{bibblank|}}}|{{TextFile|filename=Bibliography ({{#if:{{{bibname|}}}|{{{bibname|}}}|BIB.TXT}})|blankfile={{{bibblank|}}}|{{{bib|}}}}}|{{red|This disc needs to be checked for a bibliography text file.}}[[Category:Missing CD-ROM identifier]]<br/>}}}}
{{#if:{{{cpy|}}}|{{TextFile|filename=Copyrights ({{{cpyname|CPY.TXT}}})|{{{cpy|}}}|expand=true}}|This disc has no copyrights text file.<br/>}}<noinclude>[[Category:Templates]]</noinclude>
+
{{#ifeq:{{{nocpy|}}}|yes|This disc has no copyrights file.<br/>|{{#if:{{{cpy|}}}{{{cpyblank|}}}|{{TextFile|filename=Copyrights ({{#if:{{{cpyname|}}}|{{{cpyname|}}}|CPY.TXT}})|blankfile={{{cpyblank|}}}|{{{cpy|}}}}}|{{red|This disc needs to be checked for a copyrights text file.}}[[Category:Missing CD-ROM identifier]]<br/>}}}}</includeonly><noinclude>[[Category:Templates]]Template for listing the contents of [[PC content#CD-ROM identifiers|CD-ROM identifier]] text files (abstract, bibliography and copyrights) located on the PC-readable portions of [[Mega-CD]], [[Saturn]] and [[Dreamcast]] discs. For use on [[:Category:Game technical information|technical information]] sub-pages.
 +
 
 +
==Usage==
 +
The following parameters define the filenames of the text files. If they are not used or left blank, the template will default to "<tt>ABS.TXT</tt>", "<tt>BIB.TXT</tt>" and "<tt>CPY.TXT</tt>" respectively:
 +
<pre>| absname=
 +
| bibname=
 +
| cpyname=</pre>
 +
 
 +
 
 +
The raw contents of the text files should be copied from the files and pasted into the respective fields:
 +
<pre>| abs=
 +
| bib=
 +
| cpy=</pre>
 +
 
 +
 
 +
If one or more of the text files are blank, use the following parameters accordingly:
 +
<pre>| absblank=yes
 +
| bibblank=yes
 +
| cpyblank=yes</pre>
 +
 
 +
 
 +
If a disc does not have one or more text files, do not use the above parameters and instead use the following parameters accordingly:
 +
<pre>| noabs=yes
 +
| nobib=yes
 +
| nocpy=yes</pre>
 +
 
 +
==Example==
 +
<pre>{{CDROMID
 +
| noabs=yes
 +
| bibname=BIBLIOGR.TXT
 +
| cpyname=COPYRIGH.TXT
 +
| bibblank=yes
 +
| cpy=(C) SOTSU AGENCY.SUNRISE  (C) BANDAI 1999
 +
 
 +
}}</pre>
 +
 
 +
 
 +
{{CDROMID
 +
| noabs=yes
 +
| bibname=BIBLIOGR.TXT
 +
| cpyname=COPYRIGH.TXT
 +
| bibblank=yes
 +
| cpy=(C) SOTSU AGENCY.SUNRISE  (C) BANDAI 1999
 +
 
 +
}}</noinclude>

Latest revision as of 21:23, 2 August 2024

Template for listing the contents of CD-ROM identifier text files (abstract, bibliography and copyrights) located on the PC-readable portions of Mega-CD, Saturn and Dreamcast discs. For use on technical information sub-pages.

Usage

The following parameters define the filenames of the text files. If they are not used or left blank, the template will default to "ABS.TXT", "BIB.TXT" and "CPY.TXT" respectively:

| absname=
| bibname=
| cpyname=


The raw contents of the text files should be copied from the files and pasted into the respective fields:

| abs=
| bib=
| cpy=


If one or more of the text files are blank, use the following parameters accordingly:

| absblank=yes
| bibblank=yes
| cpyblank=yes


If a disc does not have one or more text files, do not use the above parameters and instead use the following parameters accordingly:

| noabs=yes
| nobib=yes
| nocpy=yes

Example

{{CDROMID
| noabs=yes
| bibname=BIBLIOGR.TXT
| cpyname=COPYRIGH.TXT
| bibblank=yes
| cpy=(C) SOTSU AGENCY.SUNRISE  (C) BANDAI 1999

}}


This disc has no abstract file.

Bibliography (BIBLIOGR.TXT) contents (blank file) 

Copyrights (COPYRIGH.TXT) contents 
(C) SOTSU AGENCY.SUNRISE  (C) BANDAI 1999