Difference between revisions of "Template:Infobox podcast"
Jump to navigation
Jump to search
m (make length numeric) |
|||
| (7 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{| border="0" cellpadding="3" cellspacing="1" align="right" style="margin-left:1em; background:#f0f0f0;width:300px;" | {| border="0" cellpadding="3" cellspacing="1" align="right" style="margin-left:1em; background:#f0f0f0;width:300px;" | ||
|- | |- | ||
| − | ! colspan="2" | [[{{{name}}}]] | + | ! colspan="2" | [[{{{name}}} (Podcast)]] |
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| Episode: || {{{number}}} | | Episode: || {{{number}}} | ||
| Line 13: | Line 13: | ||
| Guests: || {{#if: {{{guests}}} | {{{guests}}} | No guests this episode}} | | Guests: || {{#if: {{{guests}}} | {{{guests}}} | No guests this episode}} | ||
|- | |- | ||
| + | {{#set: | ||
| + | podcast episode number={{{number}}} | ||
| + | }} | ||
! colspan="2" | Additional Information | ! colspan="2" | Additional Information | ||
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| Line 19: | Line 22: | ||
| Audio File: || {{{audiolink}}} | | Audio File: || {{{audiolink}}} | ||
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| − | | Length: || {{#if: {{{length}}} | [[podcast length::{{{length}}} | + | | Length: || {{#if: {{{length}}} | [[podcast length::{{{length}}}]] minutes | }} |
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| − | |||
| {{ #ifeq: {{{number}}} | 1 | | [[{{{name}}} {{#expr: {{{number}}} - 1 }}|Previous Episode]] }} || [[{{{name}}} {{#expr: {{{number}}} + 1 }}|Next Episode]] | | {{ #ifeq: {{{number}}} | 1 | | [[{{{name}}} {{#expr: {{{number}}} - 1 }}|Previous Episode]] }} || [[{{{name}}} {{#expr: {{{number}}} + 1 }}|Next Episode]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
<noinclude> | <noinclude> | ||
Latest revision as of 12:06, 28 January 2018
"{{{number}}}" is not a number.
| [[{{{name}}} (Podcast)]] | |
|---|---|
| Episode: | {{{number}}} |
| Title: | {{{title}}} |
| Release Date: | {{{date}}} |
| Hosts: | {{{hosts}}} |
| Guests: | {{{guests}}} |
| Additional Information | |
| Official page: | {{{link}}} |
| Audio File: | {{{audiolink}}} |
| Length: | {{{length}}} minutes |
| [[{{{name}}} Expression error: Unrecognised punctuation character "{".|Previous Episode]] | [[{{{name}}} Expression error: Unrecognised punctuation character "{".|Next Episode]] |
Description[edit]
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[edit]
{{Infobox podcast
| name =
| number =
| title =
| date =
| hosts =
| guests =
| link =
| audiolink =
| length =
}}