Template:RadioShow

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m (might have to do with inferencing.. but weird behaviour nonetheless)
m (renamed properties)
Line 23: Line 23:
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
  --> {{#ask:[[Category:RadioShow]] [[SongTitle::+]]<!--
+
  --> {{#ask:[[Has type::radiosong]] [[Has title::+]]<!--
 
     --> |mainlabel=Show<!--
 
     --> |mainlabel=Show<!--
     --> |?SongArtist=Artist<!--
+
     --> |?Has artist=Artist<!--
     --> |?SongTitle=Title<!--
+
     --> |?Has title=Title<!--
     --> |?SongDuration=Duration<!--
+
     --> |?Has duration=Duration<!--
     --> |?SongLicense=License<!--
+
     --> |?Has license=License<!--
     --> |?ArtistWebsite=Website<!--
+
     --> |?Has url=Website<!--
 
     --> |format=broadtable<!--
 
     --> |format=broadtable<!--
 
     --> |offset=0<!--
 
     --> |offset=0<!--
Line 39: Line 39:
 
|}
 
|}
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
[[Category:RadioShow]] [[Has Topic::{{{topic}}}| ]]
+
[[Category:RadioShow]]
 
{{#ifexist: File:{{{podcastmp3}}} | [[Has Mp3Podcast::{{{podcastmp3}}}| ]] }}
 
{{#ifexist: File:{{{podcastmp3}}} | [[Has Mp3Podcast::{{{podcastmp3}}}| ]] }}
 
{{#ifexist: File:{{{podcast}}} | [[Has OggPodcast::{{{podcast}}}| ]] }}
 
{{#ifexist: File:{{{podcast}}} | [[Has OggPodcast::{{{podcast}}}| ]] }}
 
{{#set:  
 
{{#set:  
  Has date={{{broadcast}}}  
+
| Has Topic={{{topic|}}}
| StartDate={{{broadcast}}}  
+
| Has date={{{broadcast|}}}  
 +
| StartDate={{{broadcast|}}}  
 
| EndDate={{#time: Y-m-d H:i | {{{broadcast}}} + 1 hour }}
 
| EndDate={{#time: Y-m-d H:i | {{{broadcast}}} + 1 hour }}
 
| Is Recurring=no
 
| Is Recurring=no
Line 73: Line 74:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
Copy and paste this code or simply use the [[Form:RadioShow]] to add your show.<br/>
+
Please use the [[Form:RadioShow|RadioShow form]] to add a show.
<br/>
+
<pre>
+
{{RadioShow
+
| topic = <What is this show about?>
+
| participants = <comma separated list of participants>
+
| recording = <date>
+
| broadcast = <date>
+
| podcastrelease = <date>
+
| podcast = <filename.ogg>
+
| podcastmp3 = <filename.mp3>
+
}}
+
</pre>
+
 
</noinclude>
 
</noinclude>

Revision as of 17:34, 4 July 2012


Usage

Please use the RadioShow form to add a show.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools