Template:Infobox/Episode: Difference between revisions

From 95 Degrees Wiki
(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>Air date</b></td><td>{{{airDate}}}</td></tr>}}<!--
-->{{#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 = Saku
|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
MinecraftSMP-Screeenshot1.png
Information
Broadcast01/01/2020
Run time10 Minutes
Featuring
Navigation
<- Previous Next ->

Infobox for an episode of a particular show or event

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Episode Titletitle Episode Title

The title of the episode of the event

Example
Episode #1
Stringrequired
Event TitleeventTitle 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

Example
95 Degrees Podcast
Stringoptional
Thumbnail imageeventThumbnail Thumbnail image

The name of a file on this wiki to be used as a thumbnail (use this as an alternative for YouTube video)

Fileoptional
YouTube Video IDyoutubeId YouTube Video ID

The ID of a YouTube video for this episode (Use this as an alternative for thumbnail image)

Example
cAP_fgpKIhs
Stringoptional
Air Date airDate Air Date

The date this episode of the event aired

Example
01/01/2020
Dateoptional
Run TimerunTime Run Time

How long the episode ran for

Example
1hr30min
Stringrequired
Featuring listfeaturing Featuring list

A list of prominent people that featured in this episode. Format using: * [[Name Here]]

Unbalanced wikitextoptional
Previous Episodeprevious Previous Episode

Name of the page for the previous episode

Example
Episode 1
Unknownoptional
Next Episodenext Next Episode

Name of the page for the next episode

Example
Episode 3
Stringoptional