Template:Infobox episode: Difference between revisions

From EthoWiki
fix the buttons lol
use block formatting for infobox
Tag: 2017 source edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| above = {{{name|{{PAGENAME}}}}} (Episode {{{episode}}})
| above = {{{name|{{PAGENAME}}}}} (Episode {{{episode}}})
Line 16: Line 15:
| data3 = {{{episode}}}
| data3 = {{{episode}}}


| label4 = Duration
| label4 = Uploaded
| data4 = {{{duration}}}
| data4 = {{{uploaded|}}}


| label5 = Next Ep
| label5 = Duration
| data5 = {{#if: {{{next|}}} |
| data5 = {{{duration}}}
  [[{{{next}}}]] ▶️
 
}}
| label6 = Watch
| data6 = [{{{link}}} on YouTube]


| label6 = Previous Ep
| label7 = Previous Ep
| data6 = {{#if: {{{prev|}}} |
| data7 = {{#if: {{{prev|}}} |
   ◀️ [[{{{prev}}}]]
   ◀️ [[{{{prev}}}]]
}}  
}}  


 
| label8 = Next Ep
| data8 = {{#if: {{{next|}}} |
  [[{{{next}}}]] ▶️
}}
}}
}}
<noinclude>
<noinclude>
Line 87: Line 90:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"link": {
"label": "YouTube Link",
"description": "Link to the YouTube video",
"example": "https://youtu.be/lHngf-CKCzk",
"type": "url",
"required": true
},
"uploaded": {
"label": "Upload Date",
"description": "When this video was uploaded.",
"example": "October 12th, 2024",
"type": "date",
"required": true
}
}
},
},
"description": "Infobox for an episode!"
"description": "Infobox for an episode!",
"paramOrder": [
"name",
"image",
"season",
"episode",
"duration",
"uploaded",
"series",
"link",
"prev",
"next"
],
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
[[Category:Episodes]]
[[Category:Episodes]]

Latest revision as of 21:31, 6 February 2025

Infobox episode (Episode {{{episode}}})
Episode{{{episode}}}
Duration{{{duration}}}
Watch[{{{link}}} on YouTube]

Infobox for an episode!

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Episode Namename

The name of the episode

Example
It Begins!
Stringrequired
Thumbnailimage

The link to a thumbnail of the image.

Example
https://i.ytimg.com/vi/v41aZQhOcfI/sddefault.jpg
URLsuggested
Seasonseason

The season of the episode. Can be blank if it's a one off.

Example
1
Numberoptional
Episode Numberepisode

The number of the episode

Example
1
Numberrequired
Durationduration

The duration of the video

Example
12:34
Stringrequired
Upload Dateuploaded

When this video was uploaded.

Example
October 12th, 2024
Daterequired
Seriesseries

The series name

Example
Etho Plays Minecraft
Stringsuggested
YouTube Linklink

Link to the YouTube video

Example
https://youtu.be/lHngf-CKCzk
URLrequired
Previous Episodeprev

The title of the previous episode, if applicable

Stringsuggested
Next Episodenext

The title of the next episode, if applicable

Stringsuggested