Template:Podcast: Difference between revisions

From PickiPedia: A knowledge base of bluegrass, old time, and other traditional and public domain music
Jump to navigationJump to search
Fix RSS embed: use #tag parser function for variable substitution (via update-page on MediaWiki MCP Server)
Remove RSS embed from template - must be added manually on page (via update-page on MediaWiki MCP Server)
 
Line 1: Line 1:
<noinclude>
<noinclude>
== Podcast Infobox ==
== Podcast Infobox ==
Template for documenting podcasts. Displays podcast info, sets semantic properties for querying, and embeds the RSS feed.
Template for documenting podcasts. Displays podcast info and sets semantic properties for querying.


=== Usage ===
=== Usage ===
Line 15: Line 15:
|frequency=Weekly
|frequency=Weekly
}}
}}
== Latest Episodes ==
<rss max="5">https://example.com/feed.xml</rss>
</pre>
</pre>
Note: The RSS feed must be embedded separately after the template (the RSS extension doesn't support template variable substitution).


=== Parameters ===
=== Parameters ===
Line 23: Line 28:
* '''description''' - Brief description
* '''description''' - Brief description
* '''website''' - Official website
* '''website''' - Official website
* '''rss''' - RSS feed URL (will embed recent episodes)
* '''rss''' - RSS feed URL (stored as semantic property)
* '''youtube''' - YouTube playlist URL
* '''youtube''' - YouTube playlist URL
* '''frequency''' - Release frequency (e.g., Weekly, Monthly)
* '''frequency''' - Release frequency (e.g., Weekly, Monthly)
Line 65: Line 70:
{{{description}}}
{{{description}}}


}}
{{#if:{{{rss|}}}|
== Latest Episodes ==
{{#tag:rss|{{{rss}}}|max=5}}
}}
}}
[[Category:Podcasts]]
[[Category:Podcasts]]
</includeonly>
</includeonly>

Latest revision as of 19:26, 29 December 2025

Podcast Infobox[edit]

Template for documenting podcasts. Displays podcast info and sets semantic properties for querying.

Usage[edit]

{{Podcast
|name=Podcast Name
|image=Example.jpg
|host=Host Name
|description=Brief description
|website=https://example.com
|rss=https://example.com/feed.xml
|youtube=https://youtube.com/playlist?list=xxx
|frequency=Weekly
}}

== Latest Episodes ==
<rss max="5">https://example.com/feed.xml</rss>

Note: The RSS feed must be embedded separately after the template (the RSS extension doesn't support template variable substitution).

Parameters[edit]

  • name - Podcast name (defaults to page title)
  • image - Cover art (without File: prefix)
  • host - Host name(s) - will link to wiki pages
  • description - Brief description
  • website - Official website
  • rss - RSS feed URL (stored as semantic property)
  • youtube - YouTube playlist URL
  • frequency - Release frequency (e.g., Weekly, Monthly)