Template:InfoboxEpisode: Difference between revisions

From The Portal Wiki
m (Aardvark moved page Template:EpisodeInfoBox to Template:InfoboxEpisode: Standardization of infobox template names)
No edit summary
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 61: Line 30:
|below=<span style="text-align:center">[[All Episodes]]</span><br><span style="text-align:center">[[Episode Highlights]]</span><br>{{NavigationButtons|prev={{{prev}}}|next={{{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>

Revision as of 17:47, 3 May 2021

{{{title}}}
Information
Links
All Episodes
Episode Highlights

Template for the compact display of summary information for The Portal Podcast episodes.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

Title of the episode

Example
The Singular Genius of Elew
Stringrequired
Cover Imageimage

The episode's cover image. Usually the podcast logo.

Default
[[File:The-portal-podcast-cover-art.jpg]]
Example
[[File:The-portal-podcast-cover-art.jpg]]
Stringrequired
Guestguest

Guest on the podcast episode. Leave blank if no guest.

Example
[[Eric Lewis]]
Stringsuggested
Lengthlength

Length of the episode in HH:MM:SS format.

Example
03:38:06
Stringrequired
Release Datereleasedate

Date the episode first aired.

Example
28 March 2020
Stringrequired
YouTube Dateyoutubedate

Date the YouTube version of the episode was released.

Example
8 May 2020
Stringsuggested
Custom Label 1customlabel1

A custom label for summary data. Use as needed.

Stringoptional
Custom Data 1customdata1

Custom data associated with Custom Label 1.

Unknownoptional
Custom Label 2customlabel2

A custom label for summary data. Use as needed.

Unknownoptional
Custom Data 2customdata2

Custom data associated with Custom Label 2.

Unknownoptional
Custom Label 3customlabel3

A custom label for summary data. Use as needed.

Unknownoptional
Custom Data 3customdata3

Custom data associated with Custom Label 3.

Unknownoptional
Custom Label 4customlabel4

A custom label for summary data. Use as needed.

Unknownoptional
Custom Data 4customdata4

Custom data associated with Custom Label 4.

Unknownoptional
Art19 Linkart19

Link to the episode on Art19.

Example
[https://art19.com/shows/the-portal/episodes/555f45c9-6048-495e-9e9d-2481271d6833 Listen]
Stringrequired
Download Linkdownload

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]
Stringrequired
YouTube Linkyoutube

Link to the episode on YouTube.

Example
[https://youtu.be/ufrR98sR7XY Watch]
Stringsuggested
Portal Blog Labellink4title

Custom 4th link label. Usually for Portal Blog.

Default
Portal Blog
Example
Portal Blog
Stringsuggested
Portal Blog Linklink4

Custom 4th Link. Usually for Portal Blog.

Example
[https://theportal.group/28-eric-lewis-the-singular-genius-of-elew/ Read]
Stringsuggested
Previous Episodeprev

Page title of the previous episode in the release sequence.

Example
28: Eric Lewis - The Singular Genius of Elew
Stringrequired
Next Episodenext

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
Stringrequired