Template:Infobox episode: Difference between revisions

From EthoWiki
fix oopsie and add template data
clean up next/prev episodes for now
Line 19: Line 19:
| data4 = {{{duration}}}
| data4 = {{{duration}}}


| next = {{{next|}}}
| label5 = Next
| prev = {{{prev|}}}
| data5 = {{#if: {{{next|}}} |
| data5 = <!-- Listen I understand it's a mess but it works. <<s are wrong size. -->
  ◀️ [[{{{next}}}]]
{{#if: {{{next|prev|}}} |
}}


<div style="display:inline-block;padding:0 .4em">
| label6 = Prev
{{#if: {{{prev|}}} |
| data6 = {{#if: {{{prev|}}} |
   Last Episode
   [[{{{prev}}}]] ▶️
  ◀ [[{{{prev}}}]]
}}  
}}
</div>
<div style="display:inline-block;padding:0 .4em">
{{#if: {{{next|}}} |
  Next Episode
  [[{{{next}}}]] ►
}}
</div>
</div>
}}


}}
}}

Revision as of 21:01, 26 May 2024

Infobox episode (Episode {{{episode}}})
Episode{{{episode}}}
Duration{{{duration}}}

Infobox for an episode!

Template parameters[Edit template data]

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
Seriesseries

The series name

Example
Etho Plays Minecraft
Stringsuggested
Next Episodenext

The title of the next episode, if applicable

Stringsuggested
Previous Episodeprev

The title of the previous episode, if applicable

Stringsuggested