Difference between revisions of "Template:Infobox podcast"
Jump to navigation
Jump to search
(Guests test) |
(Added semantic info) |
||
| Line 7: | Line 7: | ||
| Title: || [[podcast episode title::{{{title}}}]] | | Title: || [[podcast episode title::{{{title}}}]] | ||
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| − | | Release Date: || {{{date}}} | + | | Release Date: || [[podcast release date::{{{date}}}]] |
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| Hosts: || {{{hosts}}} | | Hosts: || {{{hosts}}} | ||
| Line 18: | Line 18: | ||
|- bgcolor="#ffffff" | |- bgcolor="#ffffff" | ||
| Audio File: || {{{audiolink}}} | | Audio File: || {{{audiolink}}} | ||
| + | |- bgcolor="#ffffff" | ||
| + | | 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}}} | ||
| + | }} | ||
|} | |} | ||
| Line 41: | Line 47: | ||
| link = | | link = | ||
| audiolink = | | audiolink = | ||
| + | | length = | ||
}} | }} | ||
Revision as of 22:16, 18 May 2017
| [[{{{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]]
"{{{number}}}" is not a number. |
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.
Template
{{Infobox podcast
| name =
| number =
| title =
| date =
| hosts =
| guests =
| link =
| audiolink =
| length =
}}