Difference between revisions of "Template:Infobox podcast"

From Stationery Wiki
Jump to navigation Jump to search
(rearranged)
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 21: Line 24:
 
| 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]]
 
{{#set:
 
podcast episode number={{{number}}}
 
}}
 
 
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 23:49, 18 May 2017

"{{{number}}}" is not a number.
[[{{{name}}}]]
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

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

{{Infobox podcast
| name = 
| number = 
| title = 
| date = 
| hosts = 
| guests = 
| link = 
| audiolink = 
| length = 

}}