Difference between revisions of "Template:Infobox podcast"

From Stationery Wiki
Jump to navigation Jump to search
(Removed the link from the podcast length field - we don't need articles for "55 minutes" and "61 minutes".)
m (make length numeric)
 
(2 intermediate revisions by 2 users not shown)
Line 22: Line 22:
 
| Audio File: || {{{audiolink}}}  
 
| Audio File: || {{{audiolink}}}  
 
|- bgcolor="#ffffff"
 
|- bgcolor="#ffffff"
| Length: || {{#if: {{{length}}} | podcast length::{{{length}}} minutes | }}
+
| 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]]

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 = 

}}