Template:Disk: Difference between revisions

From Midipedia
Jump to navigation Jump to search
No edit summary
 
(Split Production field into Producer (main) and CoProduction (other collaborators).)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Type|Code|Title|SortableTitle (label=Sortable title)|Series|Production|Programming|SoundFormats (label=Sound format)|FileFormats (label=File format)|Medium|ReleaseYear (label=Release year)|CoverArt (label=Cover art;namespace=File)|RelatedProducts (label=Related)}}
{{#template_params:Type
{{#cargo_declare:_table=Disks|Type=String (allowed values=Songs,Styles)|Code=String|Title=String|SortableTitle=String|Series=String|Production=List (,) of Page|Programming=List (,) of Page|SoundFormats=List (,) of String (allowed values=GM,GS,XG)|FileFormats=List (,) of String (allowed values=SMF Type 0,SMF Type 1)|Medium=String (allowed values=3½" 2DD,3½" 2HD,5¼" 2DD,5¼" 2HD,CD-ROM)|ReleaseYear=Integer|CoverArt=File|RelatedProducts=List (,) of Page}}
|Code
|Title
|SortableTitle (label=Sortable title)
|Series
|Production
|Producer
|CoProduction (label=Co-production)
|Programming
|SoundFormats (label=Sound format)
|FileFormats (label=File format)
|Medium
|ReleaseYear (label=Release year)
|CoverArt (label=Cover art;namespace=File)
|RelatedProducts (label=Related)
}}
{{#cargo_declare:_table=Disks
|Type=String (size=16;mandatory;allowed values=Songs,Styles)
|Code=String (size=16)
|Title=String (size=100;mandatory)
|SortableTitle=String (size=100)
|Series=String (size=100)
|Production=List (,) of Page
|Producer=Page
|CoProduction=List (,) of Page
|Programming=List (,) of Page
|SoundFormats=List (,) of String (size=16;allowed values=GM,GS,XG)
|FileFormats=List (,) of String (size=16;allowed values=SMF Type 0,SMF Type 1)
|Medium=String (size=16;allowed values=3½" 2DD,3½" 2HD,5¼" 2DD,5¼" 2HD,CD-ROM)
|ReleaseYear=Integer
|CoverArt=File
|RelatedProducts=List (,) of Page
}}
</noinclude><includeonly>{{#cargo_store:_table=Disks}}
</noinclude><includeonly>{{#cargo_store:_table=Disks}}
{{#template_display:_format=infobox}}
{{#template_display:_format=infobox}}
[[Category:Disks]]
[[Category:Disks]]
</includeonly>
</includeonly>

Revision as of 01:07, 15 March 2024

This is the "Disk" template.

It should be called in the following format:

{{Disk
|Type=
|Code=
|Title=
|SortableTitle=
|Series=
|Production=
|Producer=
|CoProduction=
|Programming=
|SoundFormats=
|FileFormats=
|Medium=
|ReleaseYear=
|CoverArt=
|RelatedProducts=
}}

Edit the page to see the template text.

This template defines the table "Disks". View table.