Template:Infobox episode: Difference between revisions
From EthoWiki
initial episode infobox |
use block formatting for infobox Tag: 2017 source edit |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| above = {{{name|{{PAGENAME}}}}} (Episode {{{episode}}}) | |||
| image = <div class="external-image" style="width: 275px">{{{image|}}}</div> | |||
| | | label1 = Series | ||
| data1 = | |||
{{#if: {{{series|}}} | | |||
''[[{{{series}}}]]'' | |||
}} | |||
| | | label2 = Season | ||
| data2 = {{{season|}}} | |||
| | | label3 = Episode | ||
| | | data3 = {{{episode}}} | ||
| | | label4 = Uploaded | ||
| | | data4 = {{{uploaded|}}} | ||
| label5 = Duration | |||
| data5 = {{{duration}}} | |||
| label6 = Watch | |||
| data6 = [{{{link}}} on YouTube] | |||
| label7 = Previous Ep | |||
| data7 = {{#if: {{{prev|}}} | | |||
◀️ [[{{{prev}}}]] | |||
}} | |||
| label8 = Next Ep | |||
| data8 = {{#if: {{{next|}}} | | |||
[[{{{next}}}]] ▶️ | |||
}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 17: | Line 38: | ||
{ | { | ||
"params": { | "params": { | ||
" | "name": { | ||
" | "label": "Episode Name", | ||
" | "description": "The name of the episode", | ||
" | "example": "It Begins!", | ||
" | "type": "string", | ||
" | "required": true | ||
"episode": | }, | ||
" | "image": { | ||
" | "label": "Thumbnail", | ||
" | "description": "The link to a thumbnail of the image.", | ||
"example": "https://i.ytimg.com/vi/v41aZQhOcfI/sddefault.jpg", | |||
"type": "url", | |||
"suggested": true | |||
}, | |||
"season": { | |||
"label": "Season", | |||
"description": "The season of the episode. Can be blank if it's a one off.", | |||
"example": "1", | |||
"type": "number" | |||
}, | |||
"episode": { | |||
"label": "Episode Number", | |||
"description": "The number of the episode", | |||
"example": "1", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"duration": { | |||
"label": "Duration", | |||
"description": "The duration of the video", | |||
"example": "12:34", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"series": { | |||
"label": "Series", | |||
"description": "The series name", | |||
"example": "Etho Plays Minecraft", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"next": { | |||
"label": "Next Episode", | |||
"description": "The title of the next episode, if applicable", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"prev": { | |||
"label": "Previous Episode", | |||
"description": "The title of the previous episode, if applicable", | |||
"type": "string", | |||
"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": " | "description": "Infobox for an episode!", | ||
"paramOrder": [ | |||
"name", | |||
"image", | |||
"season", | |||
"episode", | |||
"duration", | |||
"uploaded", | |||
"series", | |||
"link", | |||
"prev", | |||
"next" | |||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
[[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!
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 |
Upload Date | uploaded | When this video was uploaded.
| Date | required |
Series | series | The series name
| String | suggested |
YouTube Link | link | Link to the YouTube video
| URL | required |
Previous Episode | prev | The title of the previous episode, if applicable | String | suggested |
Next Episode | next | The title of the next episode, if applicable | String | suggested |