Difference between revisions of "Template:Infobox programming block/doc"
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Sammi Brie (add templatedata to this template) |
||
| Line 88: | Line 88: | ||
}} | }} | ||
</pre> | </pre> | ||
| + | |||
| + | ==TemplateData== | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "name": { | ||
| + | "label": "Name", | ||
| + | "description": "Name of programming block", | ||
| + | "type": "content", | ||
| + | "required": true | ||
| + | }, | ||
| + | "image": { | ||
| + | "label": "Image", | ||
| + | "description": "Logo or relevant image to represent the programming block.", | ||
| + | "type": "wiki-file-name" | ||
| + | }, | ||
| + | "image_size": { | ||
| + | "label": "Image size", | ||
| + | "description": "Size of image in pixels", | ||
| + | "example": "200px", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "alt": { | ||
| + | "label": "Alternative text for image", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "caption": { | ||
| + | "label": "Caption", | ||
| + | "description": "Caption to appear under the logo or image.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "channel": { | ||
| + | "label": "Channel", | ||
| + | "description": "Channel on which the programming block airs.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "premiered": { | ||
| + | "label": "Date premiered", | ||
| + | "description": "Date on which the programming block first aired, using [[Template:Start date]].", | ||
| + | "example": "{{Start date|YYYY|MM|DD}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "closed": { | ||
| + | "label": "Date closed", | ||
| + | "description": "For defunct blocks only, the date on which the programming block last aired, using [[Template:End date]].", | ||
| + | "example": "{{End date|YYYY|MM|DD}}", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "division": { | ||
| + | "label": "Division of", | ||
| + | "description": "Entity to which the programming block belongs.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "country": { | ||
| + | "label": "Country", | ||
| + | "description": "Country in which the programming block airs.", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "parent": { | ||
| + | "label": "Parent/owner", | ||
| + | "description": "Owner of the programming block", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "key_people": { | ||
| + | "label": "Key people", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "headquarters": { | ||
| + | "label": "Headquarters", | ||
| + | "description": "Headquarters of the programming block.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "major_contracts": { | ||
| + | "label": "Major broadcasting contracts", | ||
| + | "description": "Important contracts held by the programming block.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "formerly_known": { | ||
| + | "label": "Former names", | ||
| + | "description": "Former names of the programming block.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "sister": { | ||
| + | "label": "Sister network", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "format": { | ||
| + | "label": "Format", | ||
| + | "description": "The genre of series the programming block airs.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "runtime": { | ||
| + | "label": "Runtime", | ||
| + | "example": "The day(s) of the week and time slot of the programming block. ", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "language": { | ||
| + | "label": "Language", | ||
| + | "description": "Language in which the programming block is broadcast.", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "voices": { | ||
| + | "label": "Voices of", | ||
| + | "type": "content" | ||
| + | }, | ||
| + | "website": { | ||
| + | "label": "Website", | ||
| + | "example": "{{Official website|URL goes here}}", | ||
| + | "type": "content", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "footnotes": { | ||
| + | "label": "Footnotes, if applicable", | ||
| + | "type": "content" | ||
| + | } | ||
| + | }, | ||
| + | "format": "block" | ||
| + | } | ||
| + | </templatedata> | ||
==See also== | ==See also== | ||
Latest revision as of 02:59, 17 August 2020
| 40px | This is a documentation subpage for Template:Infobox programming block. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
Template:Parameter names example
{{Infobox programming block
| name =
| image =
| image_size =
| alt =
| caption =
| formerly_known =
| premiered = <!-- {{Start date|YYYY|MM|DD}} -->
| closed = <!-- {{End date|YYYY|MM|DD}} -->
| channel =
| division =
| country =
| key_people =
| headquarters =
| major_contracts =
| parent =
| sister =
| format =
| runtime =
| website = <!-- {{Official website|URL_goes_here}} -->
| language =
| footnotes =
}}
Parameters
| Parameter | Contents |
|---|---|
| name | The name of the programming block, pagename is used as default. |
| image | An image link to represent the programming block. For example: [[File:Example.jpg|200px]] |
| caption | A caption for the image. |
| premiered | The date the programming block was first broadcast, use Template:Start date. |
| closed | The date the programming block was last broadcast, if it is currently airing, leave this parameter blank. |
| channel | The channel that the programming block airs on. |
| country | The country where the programming block airs. |
| format | What genre of series the programming block airs. |
| runtime | The day(s) of the week, and time of the programming block. |
Example
| 200px promotional logo | |
| Network | Fox Broadcasting Company |
|---|---|
| Launched | May 1, 2005 |
| Closed | May 31, 2015 |
| Country of origin | United States |
| Format | animated series |
| Running time | Sundays 7:00–10:00pm |
{{Infobox programming block
| name = Animation Domination
| image = [[File:FOX wordmark-orange.svg|200px]]
| caption = promotional logo
| premiered = {{Start date|2005|5|1}}
| closed = {{End date|2015|5|31}}
| channel = [[Fox Broadcasting Company]]
| country = United States
| format = [[animated series]]
| runtime = Sundays 7:00–10:00pm
}}
TemplateData
TemplateData for Infobox programming block
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Name of programming block | Content | required |
| Image | image | Logo or relevant image to represent the programming block. | File | optional |
| Image size | image_size | Size of image in pixels
| String | optional |
| Alternative text for image | alt | no description | Content | optional |
| Caption | caption | Caption to appear under the logo or image. | Content | optional |
| Channel | channel | Channel on which the programming block airs. | Content | optional |
| Date premiered | premiered | Date on which the programming block first aired, using [[Template:Start date]].
| String | optional |
| Date closed | closed | For defunct blocks only, the date on which the programming block last aired, using [[Template:End date]].
| String | optional |
| Division of | division | Entity to which the programming block belongs. | Content | optional |
| Country | country | Country in which the programming block airs. | Content | suggested |
| Parent/owner | parent | Owner of the programming block | Content | suggested |
| Key people | key_people | no description | Content | optional |
| Headquarters | headquarters | Headquarters of the programming block. | Content | optional |
| Major broadcasting contracts | major_contracts | Important contracts held by the programming block. | Content | optional |
| Former names | formerly_known | Former names of the programming block. | Content | optional |
| Sister network | sister | no description | Content | optional |
| Format | format | The genre of series the programming block airs. | Content | optional |
| Runtime | runtime | no description
| Content | optional |
| Language | language | Language in which the programming block is broadcast. | Content | optional |
| Voices of | voices | no description | Content | optional |
| Website | website | no description
| Content | suggested |
| Footnotes, if applicable | footnotes | no description | Content | optional |
See also