Template:Cite rdm podcast: Difference between revisions

Template page
mNo edit summary
mNo edit summary
 
(24 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: {{{act|}}}
| [[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}}}}}.}}
                  | <!-- THEN: --> [[Podcast:{{{episode}}}{{#ifeq: {{{act}}}|0|#Teaser|#Act {{{act}}}}}|{{{episode}}}]]&#32;, {{#ifeq: {{{act}}}|0|Teaser Act|#Act {{{act}}}}}.
| [[Podcast:{{{episode}}}|{{{episode}}}]]
                  | <!-- ELSE: --> [[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.
| <!-- ELSE: --> Error on call {{tl|cite rdm podcast}}: Parameters '''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 15: 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 25: 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.
* '''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 31: 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