Template:Disk: Difference between revisions
Jump to navigation
Jump to search
(Split Production field into Producer (main) and CoProduction (other collaborators).) |
(Clean up styling.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|SortableTitle (label=Sortable title) | |SortableTitle (label=Sortable title) | ||
|Series | |Series | ||
|Producer | |Producer | ||
|CoProduction (label=Co-production) | |CoProduction (label=Co-production) | ||
Line 22: | Line 21: | ||
|SortableTitle=String (size=100) | |SortableTitle=String (size=100) | ||
|Series=String (size=100) | |Series=String (size=100) | ||
|Producer=Page | |Producer=Page | ||
|CoProduction=List (,) of Page | |CoProduction=List (,) of Page | ||
Line 34: | Line 32: | ||
}} | }} | ||
</noinclude><includeonly>{{#cargo_store:_table=Disks}} | </noinclude><includeonly>{{#cargo_store:_table=Disks}} | ||
{{# | {| class="infoboxTable" | ||
! colspan="2" class="infoboxTitle" style="line-height: 1.0em" | <small>{{{Producer}}} {{{Code}}}</small><br>{{ #if: {{{Series|}}} | <small>{{{Series}}}</small><br> | }}<div style="margin-top: 0.5em; margin-bottom: 0.5em;">{{{Title}}}</div> | |||
|- | |||
| colspan="2" style="padding: 0;" | {{ #if: {{{CoverArt|}}} | [[File:{{{CoverArt}}}|350px]] | <div style="background: #333; color: #666; font-weight: bold; text-align: center; height: 350px; display: flex; justify-content: center; align-items: center;">[ No image ]</div> }} | |||
|- | |||
{{ #if: {{{Producer|}}} | ! {{!}} Production: | |||
{{!}} [[{{{Producer}}}]] | |||
{{!}}- | }} | |||
{{ #if: {{{Series|}}} | ! {{!}} Series: | |||
{{!}} {{{Series}}} | |||
{{!}}- | }} | |||
{{ #if: {{{Code|}}} | ! {{!}} Code: | |||
{{!}} {{{Code}}} | |||
{{!}}- | }} | |||
{{ #if: {{{Title|}}} | ! {{!}} Title: | |||
{{!}} {{{Title}}} | |||
{{!}}- | }} | |||
{{ #if: {{{ReleaseYear|}}} | ! {{!}} Release year: | |||
{{!}} {{{ReleaseYear}}} | |||
{{!}}- | }} | |||
{{ #if: {{{CoProduction|}}} | ! {{!}} Co-production: | |||
{{!}} {{#arraymap:{{{CoProduction|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{Programming|}}} | ! {{!}} Programming: | |||
{{!}} {{#arraymap:{{{Programming|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{SoundFormats|}}} | ! {{!}} Sound format: | |||
{{!}} {{#arraymap:{{{SoundFormats|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{FileFormats|}}} | ! {{!}} File format: | |||
{{!}} {{#arraymap:{{{FileFormats|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{Medium|}}} | ! {{!}} Medium: | |||
{{!}} {{{Medium}}} | |||
{{!}}- | }} | |||
{{ #if: {{{RelatedProducts|}}} | ! {{!}} Related products: | |||
{{!}} {{{RelatedProducts}}} | |||
{{!}}- | }} | |||
|} | |||
[[Category:Disks]] | [[Category:Disks]] | ||
</includeonly> | </includeonly> |
Latest revision as of 05:14, 22 March 2024
This is the "Disk" template.
It should be called in the following format:
{{Disk |Type= |Code= |Title= |SortableTitle= |Series= |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.