Difference between revisions of "Template:InfoboxEpisode"

From The Portal Wiki
Jump to navigation Jump to search
m (Protected "Template:InfoboxEpisode" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
Template for displaying summary information about [[Projects|projects]].
'''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">
{{Infobox
|title=
|image=
|guest=
|length=
|releasedate=
|youtubedate=
|customlabel1=
|customdata1=
|customlabel2=
|customdata2=
|customlabel3=
|customdata3=
|customlabel4=
|customdata4=
|link1title=
|link1=
|link2title=
|link2=
|link3title=
|link3=
|link4title=
|link4=
|prev=
|next=
}}
</syntaxhighlight>
</noinclude>
{{Infobox
{{Infobox
|above={{{title}}}
|above={{{title}}}
Line 38: Line 4:
|header1=Information
|header1=Information
|label1=Guest
|label1=Guest
|data1={{{guest}}}
|data1={{{guest|}}}
|label2=Length
|label2=Length
|data2={{{length|}}}
|data2={{{length|}}}
Line 54: Line 20:
|data8={{{customdata4|}}}
|data8={{{customdata4|}}}
|header10=Links
|header10=Links
|label11={{{link1title|}}}
|label11=Art19
|data11={{{link1|}}}
|data11={{{art19|}}}
|label12={{{link2title|}}}
|label12=Download
|data12={{{link2|}}}
|data12={{{download|}}}
|label13={{{link3title|}}}
|label13=YouTube
|data13={{{link3|}}}
|data13={{{youtube|}}}
|label14={{{link4title|}}}
|label14={{{link4title|}}}
|data14={{{link4|}}}
|data14={{{link4|}}}
|below=<span style="text-align:center">[[All Episodes]]</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>

Latest revision as of 23:58, 12 March 2022

{{{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