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 = | | label4 = Uploaded | ||
| data4 = {{{ | | data4 = {{{uploaded|}}} | ||
| label5 = | | label5 = Duration | ||
| data5 = {{ | | data5 = {{{duration}}} | ||
| label6 = Watch | |||
| data6 = [{{{link}}} on YouTube] | |||
| | | label7 = Previous Ep | ||
| | | 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!
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 |