Template:Infobox/Episode: Difference between revisions

From 95 Degrees Wiki
(Initial layout of episode infobox)
 
No edit summary
 
(6 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
-->{{#if:{{{runTime|}}} | <tr><td><b>Run time</b></td><td>{{{runTime}}}</td></tr>}}
-->{{#if:{{{runTime|}}} | <tr><td><b>Run time</b></td><td>{{{runTime}}}</td></tr>}}<!--
</table>
 
</includeonly><!--
Featuring
-->{{#if:{{{featuring|}}} | <!--
--><tr><th colspan="2" style="background-color:#95cafe;">Featuring</th></tr><!--
--><tr><td colspan="2">
{{{featuring}}}
</td></tr><!--
-->}}<!--
 
Navigation
-->{{#if:{{{previous|}}}{{{next|}}}|<tr><th colspan="2" style="background-color:#95cafe;">Navigation</th></tr>
<tr>
<td style="text-align:center;">{{#if:{{{previous|}}} | [[{{{previous}}}|<- Previous]] | N/A}}</td>
<td style="text-align:center;">{{#if:{{{next|}}} | [[{{{next}}}|Next ->]] | N/A}}</td>
</tr>}}</table></includeonly><!--


--><noinclude>
--><noinclude>
Line 33: Line 46:
|airDate = 01/01/2020
|airDate = 01/01/2020
|runTime = 10 Minutes
|runTime = 10 Minutes
|featuring =
* [[Nath]]
* [[Saku]]
* Testing
|previous = Nath
|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