Template:RadioShow

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
 
(87 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{| align="right" cellpadding="0" cellspacing="5" style="position:relative; margin: 0 0 0.5em 1em; border-collapse: collapse; border: 1px solid #aaa; background: #fff; float: right; clear: right; width: 20em"
+
__NOEDITSECTION__
| align="center" colspan="2" style="background-color: white; text-align: center;" |
+
[[RadioShow|<< back to the RadioShow page]]
{| width="100%"
+
{{#ifeq: "abc{{{podcastmp3|}}}" | "abc" | n/a | {{{podcastmp3|}}} }}
|- class="ext-header"
+
{| class="" cellpadding="2" cellspacing="0" <!--
! style="padding: 7px; font-size: 1.5em; color: white; background: #000066" align="center" | [[Image:Radio.png|left|40px]] {{PAGENAME}}
+
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
 +
|+ '''[[Form:RadioShow|Add a new RadioShow]]'''
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Topic:
+
! colspan="2" <!-- This is the header
 +
--> style="padding-top: 0.5em; color: white; background-color: #AAAAAA" <!--
 +
--> | [[Image:Radio.png|link=|left|40px]] <span style="font-size: 150%;">{{#if:{{{topic|}}}|{{{topic}}}|{{PAGENAME}} }}</span>
 
|-
 
|-
| {{{topic}}}
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Participants|Participants]]''': || {{#arraymap: {{{participants|}}}|,|x|[[Has Member::User:x|x]]}}  
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Participants:
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Recording|Recording]]''': || [[RecordingDate::{{{recording|}}}]]
 
|-
 
|-
| {{{participants|}}}
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Broadcast|Broadcast]]''': || [[BroadcastDate::{{{broadcast|}}}]]
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Time of Recording:
+
| style="padding: 0 7px;" | '''[[Template:RadioShow#Time of Podcast Release|Podcast Release]]''': || [[PodcastReleaseDate::{{{podcastrelease|}}}]]
 
|-
 
|-
| {{{recording}}}
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Podcast|Podcast]]''': || {{#ifexist: File:{{{podcast}}} |  [[File:{{{podcast}}}|noicon]] }}  <br/> {{#ifeq: "x{{{podcastmp3|}}}" | "x" | n/a | {{#tag:flashmp3 |{{{podcastmp3}}} }} }}
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Time of Broadcast:
+
| colspan="2" style="padding: 0.5em; color: white; background-color: #AAAAAA" | <span style="font-size: 120%;">Tools</span>
 
|-
 
|-
| {{{broadcast}}}
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
 +
--> {{#ask:[[Has object type::radiosong]] [[Has title::+]]
 +
|?Has radioshow=Show
 +
|?Has artist=Artist
 +
|?Has title=Title
 +
|?Has duration=Duration
 +
|?Has license=License
 +
|?Has website=Website
 +
|format=broadtable
 +
|limit=0
 +
|headers=show
 +
|mainlabel=-
 +
|link=all
 +
|searchlabel=See list of all songs
 +
|class=sortable wikitable smwtable
 +
}}
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Time of Podcast Release:
+
| style="padding: 0 7px;" | '''[[Template:RadioShow#QrCode|QrCode]]''': || {{#qrcode:}}
|-
+
| {{{podcastrelease}}}
+
|-
+
! style="padding: 0 7px; background: #CCCCFF" | Songs:
+
|-
+
| {{#ask: [[{{PAGENAME}}]] [[SongTitle::+]] | ?SongArtist=Artist | ?SongTitle=Title | ?SongDuration=Duration |format=table |order=SongLicense}}
+
|}
+
 
|}
 
|}
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
 
[[Category:RadioShow]]
 
[[Category:RadioShow]]
 +
{{#ifexist: File:{{{podcastmp3}}} | [[Has Mp3Podcast::{{{podcastmp3}}}| ]] }}
 +
{{#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-->
</includeonly>
 
  
 +
==Structure==
 +
* [[RadioJingle|Jingle]]
 +
* '''Intro: Preview of today's show'''
 +
* '''Review and Outlook: The Hacker [[Calendar]], what Conventions and Events are upcoming?'''
 +
{{#if: {{{broadcast|}}} |
 +
{{#ask: [[Category:Event]] [[Is Recurring::no]]
 +
[[EndDate::>{{{broadcast}}}]]
 +
| ?StartDate=From
 +
| ?EndDate=Till
 +
| ?Location
 +
| sort=StartDate
 +
| 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>
 +
* '''Hacker News'''
 +
** 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=[[Person::Myself]]
+
| recording=date
+
| broadcast=date
+
| podcastrelease=date
+
}}
+
</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