Template:Infobox/Episode: Difference between revisions
(Finished design for episode infobox) |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
EVENT TITLE | EVENT TITLE | ||
--><tr><td colspan="2" style="text-align:center;"><i>[[{{{eventTitle}}}]]</i></td></tr><!-- | -->{{#if:{{{eventTitle|}}} | <tr><td colspan="2" style="text-align:center;"><i>[[{{{eventTitle}}}]]</i></td></tr>}}<!-- | ||
YOUTUBE EMBED | YOUTUBE EMBED | ||
Line 18: | Line 18: | ||
Air Date | Air Date | ||
-->{{#if:{{{airDate|}}} | <tr><td><b> | -->{{#if:{{{airDate|}}} | <tr><td><b>Broadcast</b></td><td>{{{airDate}}}</td></tr>}}<!-- | ||
Run Time | Run Time | ||
Line 32: | Line 32: | ||
Navigation | Navigation | ||
--><tr><th colspan="2" style="background-color:#95cafe;">Navigation</th></tr> | -->{{#if:{{{previous|}}}{{{next|}}}|<tr><th colspan="2" style="background-color:#95cafe;">Navigation</th></tr> | ||
<tr> | <tr> | ||
<td style="text-align:center;">{{#if:{{{previous|}}} | [[{{{previous}}}|<- Previous]] | N/A}}</td> | <td style="text-align:center;">{{#if:{{{previous|}}} | [[{{{previous}}}|<- Previous]] | N/A}}</td> | ||
<td style="text-align:center;">{{#if:{{{next|}}} | [[{{{next}}}|Next ->]] | N/A}}</td> | <td style="text-align:center;">{{#if:{{{next|}}} | [[{{{next}}}|Next ->]] | N/A}}</td> | ||
</tr> | </tr>}}</table></includeonly><!-- | ||
</table> | |||
</includeonly><!-- | |||
--><noinclude> | --><noinclude> | ||
Line 53: | Line 51: | ||
* Testing | * Testing | ||
|previous = Nath | |previous = Nath | ||
|next = | |next = Nath | ||
}} | }} | ||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"aliases": [ | |||
"Episode Title" | |||
], | |||
"label": "Episode Title", | |||
"description": "The title of the episode of the event", | |||
"example": "Episode #1", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"eventTitle": { | |||
"aliases": [ | |||
"Event Title" | |||
], | |||
"label": "Event Title", | |||
"description": "The title of the event this episode is from -- Use the exact name of an event based on its respective page on this wiki", | |||
"example": "95 Degrees Podcast", | |||
"type": "string" | |||
}, | |||
"youtubeId": { | |||
"aliases": [ | |||
"YouTube Video ID" | |||
], | |||
"label": "YouTube Video ID", | |||
"description": "The ID of a YouTube video for this episode (Use this as an alternative for thumbnail image)", | |||
"example": "cAP_fgpKIhs", | |||
"type": "string" | |||
}, | |||
"eventThumbnail": { | |||
"aliases": [ | |||
"Thumbnail image" | |||
], | |||
"label": "Thumbnail image", | |||
"description": "The name of a file on this wiki to be used as a thumbnail (use this as an alternative for YouTube video)", | |||
"type": "wiki-file-name" | |||
}, | |||
"airDate": { | |||
"aliases": [ | |||
"Air Date" | |||
], | |||
"label": "Air Date ", | |||
"description": "The date this episode of the event aired", | |||
"example": "01/01/2020", | |||
"type": "date" | |||
}, | |||
"runTime": { | |||
"aliases": [ | |||
"Run Time" | |||
], | |||
"label": "Run Time", | |||
"description": "How long the episode ran for", | |||
"example": "1hr30min", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"featuring": { | |||
"aliases": [ | |||
"Featuring list" | |||
], | |||
"label": "Featuring list", | |||
"description": "A list of prominent people that featured in this episode. Format using: * [[Name Here]]", | |||
"type": "unbalanced-wikitext" | |||
}, | |||
"previous": { | |||
"aliases": [ | |||
"Previous Episode" | |||
], | |||
"label": "Previous Episode", | |||
"description": "Name of the page for the previous episode", | |||
"example": "Episode 1" | |||
}, | |||
"next": { | |||
"aliases": [ | |||
"Next Episode" | |||
], | |||
"label": "Next Episode", | |||
"description": "Name of the page for the next episode", | |||
"example": "Episode 3", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "Infobox for an episode of a particular show or event", | |||
"paramOrder": [ | |||
"title", | |||
"eventTitle", | |||
"eventThumbnail", | |||
"youtubeId", | |||
"airDate", | |||
"runTime", | |||
"featuring", | |||
"previous", | |||
"next" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 10:51, 27 January 2024
Episode 1 | |
---|---|
95 Degrees Podcast | |
Information | |
Broadcast | 01/01/2020 |
Run time | 10 Minutes |
Featuring | |
Navigation | |
<- Previous | Next -> |
Infobox for an episode of a particular show or event
Parameter | Description | Type | Status | |
---|---|---|---|---|
Episode Title | title Episode Title | The title of the episode of the event
| String | required |
Event Title | eventTitle Event Title | The title of the event this episode is from -- Use the exact name of an event based on its respective page on this wiki
| String | optional |
Thumbnail image | eventThumbnail Thumbnail image | The name of a file on this wiki to be used as a thumbnail (use this as an alternative for YouTube video) | File | optional |
YouTube Video ID | youtubeId YouTube Video ID | The ID of a YouTube video for this episode (Use this as an alternative for thumbnail image)
| String | optional |
Air Date | airDate Air Date | The date this episode of the event aired
| Date | optional |
Run Time | runTime Run Time | How long the episode ran for
| String | required |
Featuring list | featuring Featuring list | A list of prominent people that featured in this episode. Format using: * [[Name Here]] | Unbalanced wikitext | optional |
Previous Episode | previous Previous Episode | Name of the page for the previous episode
| Unknown | optional |
Next Episode | next Next Episode | Name of the page for the next episode
| String | optional |