Template:Infobox episode: Difference between revisions
From EthoWiki
initial episode infobox |
way better episode infobox now |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| above = {{{name|{{PAGENAME}}}}} (Episode {{{episode}}}) | |||
| image = {{{image|}}} | |||
| label1 = Season | |||
| data1 = {{{season|}}} | |||
| label1 | |||
| data1 | |||
| label2 | | label2 = Episode | ||
| data2 | | data2 = {{{episode}}} | ||
| label3 = Duration | |||
| data3 = {{{duration}}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 17: | Line 17: | ||
{ | { | ||
"params": { | "params": { | ||
" | "name": { | ||
" | "label": "Episode Name", | ||
" | "description": "The name of the episode", | ||
"example": "It Begins!", | |||
"type": "string", | |||
" | "required": true | ||
}, | |||
"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 | |||
} | |||
}, | }, | ||
"description": " | "description": "Infobox for an episode!" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
[[Category:Episodes]] |
Revision as of 04:17, 26 May 2024
Infobox episode (Episode {{{episode}}}) | |
---|---|
Episode | {{{episode}}} |
Duration | {{{duration}}} |
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 |