Editing Template:Cite rdm podcast
Template page
More actions
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<includeonly>< | <includeonly><cite style="font-style:normal;"> | ||
| | {{#if: {{{episode|}}} | ||
| [[Podcast:{{{episode}}} | | <!-- THEN: --> ''{{#if: {{{act|}}} | ||
| [[Podcast:{{{episode}}}|{{{episode}}}]] | | <!-- THEN: --> [[Podcast:{{{episode}}} {{#ifeq: {{{act|}}}|0|#Teaser|#Act {{{act}}}}} |{{{episode}}}]] , {{#ifeq: {{{act|}}}|0|Teaser Act|#Act {{{act}}}}}. | ||
}}'' {{#if: {{{timestamp|}}}| Seek to: | | <!-- ELSE: --> [[Podcast:{{{episode}}}|{{{episode}}}]] | ||
| Error on call {{tl|cite rdm podcast}}: | }}'' {{#if: {{{timestamp|}}}| Seek to: {{timestamp}}}.}} {{#if: {{{totalrunning|}}}| Total running time: {{totalrunning}}}.}} | ||
| <!-- ELSE: --> Error on call {{tl|cite rdm podcast}}: Parameters '''episode''' ''must'' be specified. | |||
}} | }} | ||
</ | </cite> | ||
</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 13: | Line 15: | ||
| episode = | | episode = | ||
| act = | | act = | ||
| timestamp = | | timestamp = | ||
| totalrunning = | | totalrunning = | ||
}}</pre> | }}</pre> | ||
== Quick Code == | == Quick Code == | ||
<code><nowiki>{{cite | <code><nowiki>{{cite 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)'' | |||
* '''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}}]] | ||
</noinclude> | </noinclude> | ||