Template:Cite rdm podcast: Difference between revisions

Template page
(first test)
mNo edit summary
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><cite style="font-style:normal;">
<includeonly><span style="font-style:normal;">{{#if: {{{episode|}}}
{{#if: {{{episode|}}}
| Podcast: ''{{#if: {{{act|}}}{{{id|}}}
| <!-- THEN: --> ''{{#if: {{{title|}}}|{{#if: {{{act|}}}|[[{{{episode}}}#{{{act}}}|{{{title}}}]]}}|[[{{{episode}}}#{{act}}}|{{{episode}}}]]}}|[[{{{episode}}}]]}}''
| [[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}}}}}.}}
| <!-- ELSE: --> Error on call {{tl|cite rdm podcast}}: Parameters '''episode''' ''must'' be specified.
| [[Podcast:{{{episode}}}|{{{episode}}}]]
}}'' {{#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.
}}
}}
</cite>
</span></includeonly><noinclude>
</includeonly><noinclude>
This template is an alternative to {{tl|cite podcast}} oriented towards [[Wikipedia:podcasting|podcasting]] in regrades to the RDM podcasts only. It provides lower case parameters only.
This template is an alternative to {{tl|cite podcast}} oriented towards [[Wikipedia:podcasting|podcasting]] in regrades to the RDM podcasts only. It provides lower case parameters only.


Line 11: Line 12:
<pre>{{cite rdm podcast
<pre>{{cite rdm podcast
| episode =
| episode =
| title =
| 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


=== Optional parameters ===
=== Optional parameters ===
* '''title''': To remove (RDM) from the view.
* '''act''': Act to look at. If act is '''0''' it goes to the Teaser section.
* '''act''': Act to look at. (Number only)
** '''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 29: 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