Jump to content

Template:InfoboxEpisode: Difference between revisions

m
Protected "Template:InfoboxEpisode" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
No edit summary
m (Protected "Template:InfoboxEpisode" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
Template for displaying summary information about [[All Episodes|Podcast Episodes]].
'''Usage: Copy paste the code below, filling in relevant fields after the = sign. Fields that are left empty or are removed will not show up in the generated infobox.'''
<syntaxhighlight lang="html+handlebars">
{{EpisodeInfobox
|title=
|image=
|guest=
|length=
|releasedate=
|youtubedate=
|customlabel1=
|customdata1=
|customlabel2=
|customdata2=
|customlabel3=
|customdata3=
|customlabel4=
|customdata4=
|art19=
|download=
|youtube=
|link4title=
|link4=
|prev=
|next=
}}
</syntaxhighlight>
</noinclude>
{{Infobox
{{Infobox
|above={{{title}}}
|above={{{title}}}
Line 59: Line 28:
|label14={{{link4title|}}}
|label14={{{link4title|}}}
|data14={{{link4|}}}
|data14={{{link4|}}}
|below=<span style="text-align:center">[[All Episodes]]</span><br><span style="text-align:center">[[Episode Highlights]]</span><br>{{NavigationButtons|prev={{{prev}}}|next={{{next}}}|no-prev={{{no-prev|}}}|no-next={{{no-next|}}}}}
|below=<span style="text-align:center">[[All Episodes]]</span><br><span style="text-align:center">[[Episode Highlights]]</span><br>{{NavigationButtons|prev={{{prev}}}|next={{{next}}}}}
}}
}}
<noinclude>
<templatedata>
{
"params": {
"title": {
"label": "Title",
"description": "Title of the episode",
"example": "The Singular Genius of Elew",
"type": "string",
"required": true
},
"image": {
"label": "Cover Image",
"description": "The episode's cover image. Usually the podcast logo.",
"example": "[[File:The-portal-podcast-cover-art.jpg]]",
"type": "string",
"default": "[[File:The-portal-podcast-cover-art.jpg]]",
"required": true
},
"guest": {
"label": "Guest",
"description": "Guest on the podcast episode. Leave blank if no guest.",
"example": "[[Eric Lewis]]",
"type": "string",
"suggested": true
},
"length": {
"label": "Length",
"description": "Length of the episode in HH:MM:SS format.",
"example": "03:38:06",
"type": "string",
"required": true
},
"releasedate": {
"label": "Release Date",
"description": "Date the episode first aired.",
"example": "28 March 2020",
"type": "string",
"required": true
},
"youtubedate": {
"label": "YouTube Date",
"description": "Date the YouTube version of the episode was released.",
"example": "8 May 2020",
"type": "string",
"suggested": true
},
"customlabel1": {
"label": "Custom Label 1",
"description": "A custom label for summary data. Use as needed.",
"type": "string"
},
"customdata1": {
"label": "Custom Data 1",
"description": "Custom data associated with Custom Label 1."
},
"customlabel2": {
"label": "Custom Label 2",
"description": "A custom label for summary data. Use as needed."
},
"customdata2": {
"label": "Custom Data 2",
"description": "Custom data associated with Custom Label 2."
},
"customlabel3": {
"label": "Custom Label 3",
"description": "A custom label for summary data. Use as needed."
},
"customdata3": {
"label": "Custom Data 3",
"description": "Custom data associated with Custom Label 3."
},
"customlabel4": {
"label": "Custom Label 4",
"description": "A custom label for summary data. Use as needed."
},
"customdata4": {
"label": "Custom Data 4",
"description": "Custom data associated with Custom Label 4."
},
"art19": {
"label": "Art19 Link",
"description": "Link to the episode on Art19.",
"example": "[https://art19.com/shows/the-portal/episodes/555f45c9-6048-495e-9e9d-2481271d6833 Listen]",
"type": "string",
"required": true
},
"download": {
"label": "Download Link",
"description": "Link to download the episode from Art19. Link directly to the file.",
"example": "[https://rss.art19.com/episodes/555f45c9-6048-495e-9e9d-2481271d6833.mp3 Download]",
"type": "string",
"required": true
},
"youtube": {
"label": "YouTube Link",
"description": "Link to the episode on YouTube.",
"example": "[https://youtu.be/ufrR98sR7XY Watch]",
"type": "string",
"suggested": true
},
"link4title": {
"label": "Portal Blog Label",
"description": "Custom 4th link label. Usually for Portal Blog.",
"example": "Portal Blog",
"type": "string",
"default": "Portal Blog",
"suggested": true
},
"link4": {
"label": "Portal Blog Link",
"description": "Custom 4th Link. Usually for Portal Blog.",
"example": "[https://theportal.group/28-eric-lewis-the-singular-genius-of-elew/ Read]",
"type": "string",
"suggested": true
},
"prev": {
"label": "Previous Episode",
"description": "Page title of the previous episode in the release sequence.",
"example": "28: Eric Lewis - The Singular Genius of Elew",
"type": "string",
"required": true
},
"next": {
"label": "Next Episode",
"description": "Page title of the next episode in the release sequence. Enter All Episodes if the page is for the most recent episode.",
"example": "28: Eric Lewis - The Singular Genius of Elew",
"type": "string",
"required": true
}
},
"description": "Template for the compact display of summary information for The Portal Podcast episodes.\n\n",
"format": "block"
}
</templatedata>
</noinclude>