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
 
(13 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
[[RadioShow|<< back to the RadioShow page]]
 
[[RadioShow|<< back to the RadioShow page]]
 +
{{#ifeq: "abc{{{podcastmp3|}}}" | "abc" | n/a | {{{podcastmp3|}}} }}
 
{| class="" cellpadding="2" cellspacing="0" <!--
 
{| class="" cellpadding="2" cellspacing="0" <!--
 
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
 
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
Line 18: Line 19:
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Podcast Release|Podcast Release]]''': || [[PodcastReleaseDate::{{{podcastrelease|}}}]]
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Podcast Release|Podcast Release]]''': || [[PodcastReleaseDate::{{{podcastrelease|}}}]]
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Podcast|Podcast]]''': || {{#ifexist: File:{{{podcast}}} |  [[File:{{{podcast}}}|noicon]] }} <br/> {{#ifexist: File:{{{podcastmp3}}} | {{#tag:flashmp3 |{{{podcastmp3}}} }} }}
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Podcast|Podcast]]''': || {{#ifexist: File:{{{podcast}}} |  [[File:{{{podcast}}}|noicon]] }} <br/> {{#ifeq: "x{{{podcastmp3|}}}" | "x" | n/a | {{#tag:flashmp3 |{{{podcastmp3}}} }} }}
 
|-
 
|-
 
| colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Tools</span>
 
| colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Tools</span>
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
  --> {{#ask:[[Category:RadioShow]] [[SongTitle::+]]<!--
+
  --> {{#ask:[[Has object type::radiosong]] [[Has title::+]]
    --> |mainlabel=Show<!--
+
|?Has radioshow=Show
    --> |?SongArtist=Artist<!--
+
|?Has artist=Artist
    --> |?SongTitle=Title<!--
+
|?Has title=Title
    --> |?SongDuration=Duration<!--
+
|?Has duration=Duration
    --> |?SongLicense=License<!--
+
|?Has license=License
    --> |?ArtistWebsite=Website<!--
+
|?Has website=Website
    --> |format=broadtable<!--
+
|format=broadtable
    --> |offset=0<!--
+
|limit=0
    --> |limit=0<!--
+
|headers=show
    --> |searchlabel=See list of all songs<!--
+
|mainlabel=-
--> }}
+
|link=all
 +
|searchlabel=See list of all songs
 +
|class=sortable wikitable smwtable
 +
}}
 
|-
 
|-
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#QrCode|QrCode]]''': || {{#qrcode:}}
 
| style="padding: 0 7px;"  | '''[[Template:RadioShow#QrCode|QrCode]]''': || {{#qrcode:}}
 
|}
 
|}
 
<!-- *** 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 78:
 
<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>

Latest revision as of 16:04, 8 December 2013


[edit] Usage

Please use the RadioShow form to add a show.

Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools