Template:Infobox episode: Difference between revisions
From EthoWiki
fix the buttons lol |
add a link label |
||
Line 19: | Line 19: | ||
| data4 = {{{duration}}} | | data4 = {{{duration}}} | ||
| label5 = Next Ep | | label5 = Watch | ||
| | | data5 = [{{{link}}} on YouTube] | ||
| label6 = Next Ep | |||
| data6 = {{#if: {{{next|}}} | | |||
[[{{{next}}}]] ▶️ | [[{{{next}}}]] ▶️ | ||
}} | }} | ||
| | | label7 = Previous Ep | ||
| | | data7 = {{#if: {{{prev|}}} | | ||
◀️ [[{{{prev}}}]] | ◀️ [[{{{prev}}}]] | ||
}} | }} | ||
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 | |||
} | } | ||
}, | }, |
Revision as of 21:09, 26 May 2024
Infobox episode (Episode {{{episode}}}) | |
---|---|
Episode | {{{episode}}} |
Duration | {{{duration}}} |
Watch | [{{{link}}} on YouTube] |
Infobox for an episode!
Parameter | Description | Type | Status | |
---|---|---|---|---|
Episode Name | name | The name of the episode
| String | required |
Thumbnail | image | The link to a thumbnail of the image.
| URL | suggested |
Season | season | The season of the episode. Can be blank if it's a one off.
| Number | optional |
Episode Number | episode | The number of the episode
| Number | required |
Duration | duration | The duration of the video
| String | required |
Series | series | The series name
| String | suggested |
Next Episode | next | The title of the next episode, if applicable | String | suggested |
Previous Episode | prev | The title of the previous episode, if applicable | String | suggested |
YouTube Link | link | Link to the YouTube video
| URL | required |