Anonymous user
Template:Infobox podcast: Difference between revisions
m
Fixed my previous edit to unlink episode length.
No edit summary |
m (Fixed my previous edit to unlink episode length.) |
||
Line 1:
{| border="0" cellpadding="3" cellspacing="1" align="right" style="margin-left:1em; background:#f0f0f0;width:300px;"
|-
! colspan="2" | [[{{{name}}} (Podcast)]]
|- bgcolor="#ffffff"
| Episode: || {{{number}}}
|- bgcolor="#ffffff"
| Title: || [[podcast episode title::{{{title}}}]]
|- bgcolor="#ffffff"
| Release Date: || [[podcast release date::{{{date}}}]]
|- bgcolor="#ffffff"
| Hosts: || {{{hosts}}}
|- bgcolor="#ffffff"
| Guests: || {{#if: {{{guests}}} | {{{guests}}} | No guests this episode}}
|-
{{#set:
podcast episode number={{{number}}}
}}
! colspan="2" | Additional Information
|- bgcolor="#ffffff"
| Official page: || {{{link}}}
|- bgcolor="#ffffff"
| Audio File: || {{{audiolink}}}
|- bgcolor="#ffffff"
| Length: || {{#if: {{{length}}} | {{{length}}} minutes | }}
|- bgcolor="#ffffff"
| {{ #ifeq: {{{number}}} | 1 | | [[{{{name}}} {{#expr: {{{number}}} - 1 }}|Previous Episode]] }} || [[{{{name}}} {{#expr: {{{number}}} + 1 }}|Next Episode]]
|}
<noinclude>
===Description===
This template is used to create an infobox in an article about a podcast.
To use it in an article, copy the template below and paste it into an article.
Empty fields won't be displayed in the article.
Please enter the length in minutes, e.g. for 73 minutes just enter length = 73
===Template===
<pre><nowiki>
{{Infobox podcast
| name =
| number =
| title =
| date =
| hosts =
| guests =
| link =
| audiolink =
| length =
}}
</nowiki></pre>
</noinclude>
|