Difference between revisions of "Template:CD-DVD-Cover-Page"

From Nithyanandapedia
Jump to navigation Jump to search
(Standard Template for CD/DVD cover page)
 
(Changed fields from required to suggested)
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
 
<includeonly>
 
<includeonly>
{|class="wikitable" style="width: 33%; clear:center; float:center; background:#ffffff; margin: 0 0 0.5em 1em; font-size:110%"
+
{|class="wikitable" style="width: 37%; clear:right; float:right; background:#ffffff; margin: 0 0 0.5em 1em; font-size:110%"
 +
|-
 +
!style="background:#653438;color:#ffffff;text-align:center;" colspan="2"|  '''[[Digital Media]]'''
 
|-
 
|-
| style="text-align:center;background:#A8BDEC;width:20%"|'''Topic'''||style="text-align:center;background:#A8BDEC"| '''Details'''
+
| style="text-align:center;background:#653438;color:#ffffff;width:20%"|'''Topic'''||style="text-align:center;background:#653438;color:#ffffff;| '''Details'''
 
|-
 
|-
 
| style="text-align:center;" |CD/DVD Title||{{{cdTitle}}}
 
| style="text-align:center;" |CD/DVD Title||{{{cdTitle}}}
 
|-
 
|-
 
| style="text-align:center;" |CD/DVD Content||{{{contentType}}}
 
| style="text-align:center;" |CD/DVD Content||{{{contentType}}}
 +
|-
 +
| style="text-align:center;" |Duration||{{#if:{{{duration|}}} | {{{duration}}} }}
 
|-
 
|-
 
| style="text-align:center;" |Published by||{{{publishedBy}}}
 
| style="text-align:center;" |Published by||{{{publishedBy}}}
 
|-
 
|-
| style="text-align:center;" |Published Year||{{{publishedYear}}}
+
| style="text-align:center;" |Published Year||{{#if:{{{publishedYear|}}} | {{{publishedYear}}} }}
 
|-
 
|-
| style="text-align:center;" |Launch Price (Rs)||{{{launchPrice}}}
+
| style="text-align:center;" |Launch Price||{{#if:{{{launchPrice|}}} | {{{launchPrice}}} }}
 
|-
 
|-
 
| style="text-align:center;" |Language||{{{language}}}
 
| style="text-align:center;" |Language||{{{language}}}
 +
|-
 +
| style="text-align:center;" |Location||{{#if:{{{location|}}} | {{{location}}} }}
 
|-
 
|-
 
|}
 
|}
 
</includeonly>
 
</includeonly>
  
 +
<noinclude>
 
<templatedata>
 
<templatedata>
 
{
 
{
    "description": "CD/DVD cover page standard data elements",
+
"description": "CD/DVD cover page standard data elements",
    "params": {
+
"params": {
        "cdTitle": {
+
"cdTitle": {
            "label": "CD/DVD Title",
+
"label": "CD/DVD Title",
            "type": "string",
+
"type": "string",
            "required": true,
+
"required": true,
            "description": "Title of the CD/DVD.",
+
"description": "Title of the CD/DVD.",
            "aliases": ["1"]
+
"aliases": [
        },
+
"1"
        "contentType": {
+
]
            "label": "CD/DVD Content",
+
},
            "type": "string",
+
"contentType": {
            "required": true,
+
"label": "CD/DVD Content",
            "description": "Nature of the disc content.",
+
"type": "string",
            "aliases": ["2"]
+
"required": false,
        },
+
"description": "Nature of the disc content.",
        "publishedBy": {
+
"aliases": [
            "label": "Published by",
+
"2"
            "type": "string",
+
]
            "required": true,
+
},
            "description": "Who published the CD/DVD?",
+
                "duration": {
            "aliases": ["3"]
+
"label": "Duration",
        },
+
"type": "string",
        "publishedYear": {
+
"suggested": false,
            "label": "Published Year",
+
"description": "Duration",
            "type": "string",
+
"aliases": [
            "required": true,
+
"3"
            "description": "The year in which the CD/DVD was published.",
+
]
            "aliases": ["4"]
+
},
        },
+
"publishedBy": {
        "launchPrice": {
+
"label": "Published by",
            "label": "Launch Price (Rs)",
+
"type": "string",
            "type": "string",
+
"required": false,
            "required": false,
+
"description": "Who published the CD/DVD?",
            "description": "The Price at the time of CD/DVD Launch. Does not imply that the product is sold in NPedia.",
+
"aliases": [
            "aliases": ["5"]
+
"4"
        },
+
]
        "language": {
+
},
            "label": "Language",
+
"publishedYear": {
            "type": "string",
+
"label": "Published Year",
            "required": true,
+
"type": "string",
            "description": "Language of the CD/DVD content.",
+
"suggested": false,
            "aliases": ["6"]
+
"description": "The year in which the CD/DVD was published.",
        }
+
"aliases": [
    }
+
"5"
 +
]
 +
},
 +
"launchPrice": {
 +
"label": "Launch Price",
 +
"type": "string",
 +
"suggested": false,
 +
"description": "The Price at the time of CD/DVD Launch. Does not imply that the product is sold in NPedia.",
 +
"aliases": [
 +
"6"
 +
]
 +
},
 +
"language": {
 +
"label": "Language",
 +
"type": "string",
 +
"required": false,
 +
"description": "Language of the CD/DVD content.",
 +
"aliases": [
 +
"7"
 +
]
 +
},
 +
              "location": {
 +
"label": "Location",
 +
"type": "string",
 +
"suggested": false,
 +
"description": "Location of the CD/DVD",
 +
"aliases": [
 +
"8"
 +
]
 +
}
 +
}
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
</noinclude>

Latest revision as of 00:04, 9 September 2020


CD/DVD cover page standard data elements

Template parameters

ParameterDescriptionTypeStatus
CD/DVD TitlecdTitle 1

Title of the CD/DVD.

Stringrequired
CD/DVD ContentcontentType 2

Nature of the disc content.

Stringoptional
Durationduration 3

Duration

Stringoptional
Published bypublishedBy 4

Who published the CD/DVD?

Stringoptional
Published YearpublishedYear 5

The year in which the CD/DVD was published.

Stringoptional
Launch PricelaunchPrice 6

The Price at the time of CD/DVD Launch. Does not imply that the product is sold in NPedia.

Stringoptional
Languagelanguage 7

Language of the CD/DVD content.

Stringoptional
Locationlocation 8

Location of the CD/DVD

Stringoptional