Template:Cite rdm podcast: Difference between revisions

Template page
No edit summary
mNo edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span style="font-style:normal;">{{#if: {{{episode|}}}
<includeonly><span style="font-style:normal;">{{#if: {{{episode|}}}
| {{#if: {{#if:{{{act|}}}|1}}{{#if:{{{id|}}}|1}}
| Podcast: ''{{#if: {{{act|}}}{{{id|}}}
| Error on call {{tl|cite rdm podcast}}: You can not have both ''act'' and ''id'' defined. One or the other.
| [[Podcast:{{{episode}}}{{#if:{{{id|}}}|&#35;{{{id}}}|{{#ifeq:{{{act|}}}|0|&#35;Teaser|&#35;Act {{{act}}}}}}}|{{{episode}}}]]&#32;, {{#if:{{{act|}}}|{{#ifeq:{{{act|}}}|0|Teaser Act|Act {{{act}}}}}.}}
| ''{{#if: {{{act|}}}
| [[Podcast:{{{episode}}}{{#ifeq:{{{act|}}}|0|&#35;Teaser|&#35;Act {{{act}}}}}|{{{episode}}}]]&#32;, {{#ifeq:{{{act|}}}|0|Teaser Act|&#35;Act {{{act}}}}}.
| [[Podcast:{{{episode}}}|{{{episode}}}]]
| [[Podcast:{{{episode}}}|{{{episode}}}]]
}}'' {{#if: {{{timestamp|}}}|&#32;Seek to: {{{timestamp}}}.}} {{#if: {{{totalrunning|}}}|&#32;Total running time: {{{totalrunning}}}.}}
}}'' {{#if: {{{timestamp|}}}|&#32;Seek to: {{{timestamp}}}.}} {{#if: {{{totalrunning|}}}|&#32;Total running time: {{{totalrunning}}}.}}
}}
| Error on call {{tl|cite rdm podcast}}: Parameter '''episode''' ''must'' be specified.
| Error on call {{tl|cite rdm podcast}}: Parameter '''episode''' ''must'' be specified.
}}
}}
Line 16: Line 13:
| episode =
| episode =
| act =
| act =
| id =
| timestamp =
| timestamp =
| totalrunning =
| totalrunning =
}}</pre>
}}</pre>
== Quick Code ==
== Quick Code ==
<code><nowiki>{{cite podcast|episode= }}</nowiki></code> - Basic
<code><nowiki>{{cite rdm podcast|episode= }}</nowiki></code> - Basic
=== Required parameters ===
=== Required parameters ===
* '''episode''': Episode of podcast
* '''episode''': Episode of podcast
Line 26: Line 25:
=== Optional parameters ===
=== Optional parameters ===
* '''act''': Act to look at. If act is '''0''' it goes to the Teaser section.
* '''act''': Act to look at. If act is '''0''' it goes to the Teaser section.
** '''OR''' ... '''''id''''' - Custom ID. ''(In Development)''
** '''OR''' ... '''''id''''' - Custom ID. Overrides "Act" link if entered.
* '''timestamp''': Time in which you should seek to. Format in HH:MM:SS
* '''timestamp''': Time in which you should seek to. Format in HH:MM:SS
* '''totalrunning''': Total time in which the file is. Format in HH:MM:SS
* '''totalrunning''': Total time in which the file is. Format in HH:MM:SS
Line 32: Line 31:
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Citation templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[de:Vorlage:Cite rdm podcast]]
</noinclude>
</noinclude>

Latest revision as of 16:24, 10 August 2007

This template is an alternative to {{cite podcast}} oriented towards podcasting in regrades to the RDM podcasts only. It provides lower case parameters only.

Usage

{{cite rdm podcast
| episode =
| act =
| id =
| timestamp =
| totalrunning =
}}

Quick Code

{{cite rdm podcast|episode= }} - Basic

Required parameters

  • episode: Episode of podcast

Optional parameters

  • act: Act to look at. If act is 0 it goes to the Teaser section.
    • OR ... id - Custom ID. Overrides "Act" link if entered.
  • timestamp: Time in which you should seek to. Format in HH:MM:SS
  • totalrunning: Total time in which the file is. Format in HH:MM:SS