Template:RadioShow

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
 
(77 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
__NOEDITSECTION__
 
[[RadioShow|<< back to the RadioShow page]]
 
[[RadioShow|<< back to the RadioShow page]]
{| 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"
+
{{#ifeq: "abc{{{podcastmp3|}}}" | "abc" | n/a | {{{podcastmp3|}}} }}
| align="center" colspan="2" style="background-color: white; text-align: center;" |
+
{| class="" cellpadding="2" cellspacing="0" <!--
{| width="100%"
+
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
|- class="ext-header"
+
|+ '''[[Form:RadioShow|Add a new RadioShow]]'''
! style="padding: 7px; font-size: 1.5em; color: white; background: #000066" align="center" | [[Image:Radio.png|left|40px]] {{PAGENAME}}
+
 
|-
 
|-
! 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>
 
|-
 
|-
| [[ShowTopic::{{{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|}}}]]
 
|-
 
|-
| [[RecordingDate::{{{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>
 
|-
 
|-
| [[BroadcastDate::{{{broadcast|}}}]]
+
| style="padding: 0 7px;" | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
|-
+
--> {{#ask:[[Has object type::radiosong]] [[Has title::+]]
! style="padding: 0 7px; background: #CCCCFF" | Time of Podcast Release:
+
|?Has radioshow=Show
|-
+
|?Has artist=Artist
| {{{podcastrelease}}}
+
|?Has title=Title
|-
+
|?Has duration=Duration
! style="padding: 0 7px; background: #CCCCFF" | Podcast URL:
+
|?Has license=License
|-
+
|?Has website=Website
| [[Podcasturl::{{{podcasturl|}}}]]
+
|-
+
! style="padding: 0 7px; background: #CCCCFF" | Songs:
+
|-
+
| {{#ask:[[Category:RadioShow]] [[SongTitle::+]]
+
|mainlabel=Show
+
|?SongArtist=Artist
+
|?SongTitle=Title
+
|?SongDuration=Duration
+
|?SongLicense=License
+
|?ArtistWebsite=Website
+
 
|format=broadtable
 
|format=broadtable
|order=
+
|limit=0
|sort=
+
|headers=show
|offset=0
+
|mainlabel=-
|limit=-1
+
|link=all
 
|searchlabel=See list of all songs
 
|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]]
 +
{{#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]], [[Person::SomebodyElse]]
+
| recording=date
+
| broadcast=date
+
| podcastrelease=date
+
| podcasturl=url
+
}}
+
</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