Template:Disk: Difference between revisions
Jump to navigation
Jump to search
(Removed old production field.) |
(Custom layout with conditional rows for Disk infobox.) |
||
Line 32: | Line 32: | ||
}} | }} | ||
</noinclude><includeonly>{{#cargo_store:_table=Disks}} | </noinclude><includeonly>{{#cargo_store:_table=Disks}} | ||
{{# | {| class="infoboxTable" style="width: 350px" | ||
! 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|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Production: | |||
{{!}} [[{{{Producer}}}]] | |||
{{!}}- | }} | |||
{{ #if: {{{Series|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Series: | |||
{{!}} {{{Series}}} | |||
{{!}}- | }} | |||
{{ #if: {{{Code|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Code: | |||
{{!}} {{{Code}}} | |||
{{!}}- | }} | |||
{{ #if: {{{Title|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Title: | |||
{{!}} {{{Title}}} | |||
{{!}}- | }} | |||
{{ #if: {{{ReleaseYear|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Release year: | |||
{{!}} {{{ReleaseYear}}} | |||
{{!}}- | }} | |||
{{ #if: {{{CoProduction|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Co-production: | |||
{{!}} {{#arraymap:{{{CoProduction|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{Programming|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Programming: | |||
{{!}} {{#arraymap:{{{Programming|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{SoundFormats|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Sound format: | |||
{{!}} {{#arraymap:{{{SoundFormats|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{FileFormats|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} File format: | |||
{{!}} {{#arraymap:{{{FileFormats|}}}|,|x|[[x]] }} | |||
{{!}}- | }} | |||
{{ #if: {{{Medium|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Medium: | |||
{{!}} {{{Medium}}} | |||
{{!}}- | }} | |||
{{ #if: {{{RelatedProducts|}}} | ! style="text-align: right; vertical-align: top; white-space: nowrap;" {{!}} Related products: | |||
{{!}} {{{RelatedProducts}}} | |||
{{!}}- | }} | |||
|} | |||
[[Category:Disks]] | [[Category:Disks]] | ||
</includeonly> | </includeonly> |
Revision as of 04:51, 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.