Template:Infobox episode: Difference between revisions
From EthoWiki
add max width to image |
use block formatting for infobox Tag: 2017 source edit |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| above = {{{name|{{PAGENAME}}}}} (Episode {{{episode}}}) | | above = {{{name|{{PAGENAME}}}}} (Episode {{{episode}}}) | ||
| image = <div style="width: 275px">{{{image|}}}</div> | | 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 49: | Line 70: | ||
"example": "12:34", | "example": "12:34", | ||
"type": "string", | "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 | "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!
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 |