Template:Infobox episode: Difference between revisions
From EthoWiki
add series parameter |
my lovely attempt at last/next episodes |
||
| Line 4: | Line 4: | ||
| image = <div class="external-image" 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 = Duration | |||
| data4 = {{{duration}}} | |||
| next = {{{next|}}} | |||
| prev = {{{prev|}}} | |||
| data5 = <!-- Listen I understand it's a mess but it works. <<s are wrong size. --> | |||
{{#if: {{{next|prev|}}} | | |||
<div style="display:inline-block;padding:0 .4em"> | |||
{{#if: {{{prev|}}} | | |||
Last Episode | |||
◀ [[{{{prev}}}]] | |||
}} | |||
</div> | |||
<div style="display:inline-block;padding:0 .4em"> | |||
{{#if: {{{next|}}} | | |||
Next Episode | |||
[[{{{next}}}]] ► | |||
}} | |||
</div> | |||
</div> | |||
}} | |||
}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
Revision as of 04:40, 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 |
| Series | series | The series name
| String | suggested |