Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox/Episode: Difference between revisions

Template page
Finished design for episode infobox
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><table class="wikitable infobox-right" style="width:256px; table-layout:fixed;"><!--  
--><div class="floatright"><!--


EPISODE TITLE
-->{{#if:{{{eventTitle|}}}|<div style="display:flex; justify-content:center;"><span class="infobox-header" style="text-align:center; margin-bottom:5px;">{{{eventTitle}}}</span></div>}}<!--
--><tr><th colspan="2" style="text-align:center; background-color:#95cafe; padding-top:10px; padding-bottom:10px;">{{{title}}}</th></tr><!--


EVENT TITLE
--><div class="infobox-main"><!--
--><tr><td colspan="2" style="text-align:center;"><i>[[{{{eventTitle}}}]]</i></td></tr><!--
Episode Title
-->{{#if:{{{title|}}}|<span class="infobox-header" style="text-align:center;">{{{title}}}</span>}}<!--


YOUTUBE EMBED
YouTube Embed
-->{{#if:{{{youtubeId|}}} | <tr><td colspan="2" style="padding:0px!important;">{{#tag:html | <iframe width="254" height="144" src="https://www.youtube.com/embed/{{{youtubeId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe></td></tr>}}}}<!--
-->{{#if:{{{youtubeId|}}}| {{#tag:html | <iframe width="254" height="144" src="https://www.youtube.com/embed/{{{youtubeId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>}} }}<!--


THUMBNAIL
Thumbnail
-->{{#if:{{{eventThumbnail|}}} | <tr><td colspan="2" style="padding:0px!important;">[[File:{{{eventThumbnail}}}|254px]]</td></tr>}}<!--
-->{{#if:{{{eventThumbnail|}}}| [[File:{{{eventThumbnail}}}|300px]] }}<!--


INFORMATION
Information
--><tr><th colspan="2" style="background-color:#95cafe;">Information</th></tr><!--
--><span class="infobox-header">Information</span><!--


Air Date
Air Date
-->{{#if:{{{airDate|}}} | <tr><td><b>Air date</b></td><td>{{{airDate}}}</td></tr>}}<!--
-->{{#if:{{{airDate|}}}|
<div class="infobox-info">
<span>Broadcast</span>
<p>{{{airDate}}}</p>
</div>
}}<!--


Run Time
Run Time
-->{{#if:{{{runTime|}}} | <tr><td><b>Run time</b></td><td>{{{runTime}}}</td></tr>}}<!--
-->{{#if:{{{runTime|}}}|
<div class="infobox-info">
<span>Run Time</span>
<p>{{{runTime}}}</p>
</div>
}}<!--


Featuring
Featuring
-->{{#if:{{{featuring|}}} | <!--
-->{{#if:{{{featuring|}}}|
--><tr><th colspan="2" style="background-color:#95cafe;">Featuring</th></tr><!--
<div>
--><tr><td colspan="2">
<span class="infobox-header">Featuring</span>
<p>
{{{featuring}}}
{{{featuring}}}
</td></tr><!--
</p>
-->}}<!--
</div>
}}<!--


Navigation
Navigation
--><tr><th colspan="2" style="background-color:#95cafe;">Navigation</th></tr>
-->{{#if:{{{previous|}}}{{{next|}}}|
<tr>
<span class="infobox-header">Links</span>
<td style="text-align:center;">{{#if:{{{previous|}}} | [[{{{previous}}}|<- Previous]] | N/A}}</td>
<div style="display:flex; gap:5px; justify-content:space-around;">
<td style="text-align:center;">{{#if:{{{next|}}} | [[{{{next}}}|Next ->]] | N/A}}</td>
{{#if:{{{previous|}}} | <div>[[{{{previous}}}|Previous]]</div> | <div>N/A</div>}}
</tr>
{{#if:{{{next|}}}| <div>[[{{{next}}}|Next]]</div> | <div>N/A</div> }}
</table>
</div>
</includeonly><!--
}}<!--


--><noinclude>
--></div><!--
 
--></div>
</includeonly>
<noinclude>
{{Infobox/Episode
{{Infobox/Episode
|title = Episode 1
|title = Episode 1
Line 53: Line 69:
* 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"
},
"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"
},
"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:54, 7 April 2025


95 Degrees Podcast
Episode 1 Information

Broadcast

01/01/2020

Run Time

10 Minutes

Featuring

Links


Infobox for an episode of a particular show or event

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Episode Titletitle Episode Title

The title of the episode of the event

Example
Episode #1
Stringoptional
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
Stringoptional
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