Template:RadioShow

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
 
(37 intermediate revisions by 3 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 10: Line 11:
 
--> | [[Image:Radio.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{topic|}}}|{{{topic}}}|{{PAGENAME}} }}</span>
 
--> | [[Image:Radio.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{topic|}}}|{{{topic}}}|{{PAGENAME}} }}</span>
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Participants|Participants]]''': || {{#arraymap: {{{participants|}}}|,|x|[[Has Member::User:x|x]]|,}}  
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Participants|Participants]]''': || {{#arraymap: {{{participants|}}}|,|x|[[Has Member::User:x|x]]}}  
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Recording|Time of Recording]]''': || [[RecordingDate::{{{recording|}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Recording|Recording]]''': || [[RecordingDate::{{{recording|}}}]]
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Broadcast|Time of Broadcast]]''': || [[BroadcastDate::{{{broadcast|}}}]]
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Broadcast|Broadcast]]''': || [[BroadcastDate::{{{broadcast|}}}]]
 
|-
 
|-
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Podcast Release|Time of 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>
 
|-
 
|-
 
| 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:}}
 
|}
 
|}
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
 
[[Category:RadioShow]]
 
[[Category:RadioShow]]
[[Has Topic::{{{topic}}}| ]]
 
 
{{#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:
 +
| Has Topic={{{topic|}}}
 +
| Has date={{{broadcast|}}}
 +
| StartDate={{{broadcast|}}}
 +
| EndDate={{#time: Y-m-d H:i | {{{broadcast}}} + 1 hour }}
 +
| Is Recurring=no
 +
| Has location=Radio ARA, Luxembourg
 +
}}
 
<!-- Semantic end-->
 
<!-- Semantic end-->
 +
 
==Structure==
 
==Structure==
 
* [[RadioJingle|Jingle]]
 
* [[RadioJingle|Jingle]]
 +
* '''Intro: Preview of today's show'''
 
* '''Review and Outlook: The Hacker [[Calendar]], what Conventions and Events are upcoming?'''
 
* '''Review and Outlook: The Hacker [[Calendar]], what Conventions and Events are upcoming?'''
{{#ask: [[Category:Event||ExternalEvent||Workshop||Meeting]] [[Is Recurring::no]]
+
{{#if: {{{broadcast|}}} |
[[EndDate::>{{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}} 00:00]]
+
{{#ask: [[Category:Event]] [[Is Recurring::no]]
| ?StartDate=From
+
[[EndDate::>{{{broadcast}}}]]
| ?EndDate=Till
+
| ?StartDate=From
| ?Location
+
| ?EndDate=Till
| sort=StartDate
+
| ?Location
| limit=6
+
| sort=StartDate
| format=ul
+
| limit=6
}}
+
| format=ul
 +
}}
 +
| <div style="margin:10px;color:red">'''You haven't set a broadcasting date, thus I can't show you a calendar!'''</div> }}
 
<hr>
 
<hr>
* H'''acker News'''
+
* '''Hacker News'''
</includeonly>
+
** If applicable: New [[Projects]] at the space.
 +
** If applicable: Upcoming [[Workshops]].
 +
** Tool news (cf. Linux Magazin)</includeonly>
 
<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=
+
| 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