Template:RadioShow

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
[[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"
+
{| class="" cellpadding="2" cellspacing="0" <!--
| align="center" colspan="2" style="background-color: white; text-align: center;" |
+
--> style="float: right; width: 300px; margin: 0 0 1em 1em; border: 2px solid #AAAAAA; background-color: #FFFFFF"
{| width="100%"
+
|+ '''[[Form:RadioShow|Add a new RadioShow]]'''
|- class="ext-header"
+
! 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|[[Person::User:x|x]]|,}}
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Participants:
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Recording|Time of Recording]]''': || [[RecordingDate::{{{recording|}}}]]
 
|-
 
|-
| {{#arraymap: {{{participants|}}}|,|x|[[Person::User:x|x]]|,}}  
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Broadcast|Time of Broadcast]]''': || [[BroadcastDate::{{{broadcast|}}}]]
 
|-
 
|-
! style="padding: 0 7px; background: #CCCCFF" | Time of Recording:
+
| style="padding: 0 7px;"  | '''[[Template:RadioShow#Time of Podcast Release|Time of Podcast Release]]''': || [[PodcastReleaseDate::{{{podcastrelease|}}}]]
 
|-
 
|-
| [[RecordingDate::{{{recording|}}}]]
+
| 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; background: #CCCCFF" | Time of Broadcast:
+
| style="padding: 0 7px;" | '''[[Template:RadioShow#Songs|Songs]]''': || <!--
|-
+
  --> {{#ask:[[Category:RadioShow]] [[SongTitle::+]]<!--
| [[BroadcastDate::{{{broadcast|}}}]]
+
    --> |mainlabel=Show<!--
|-
+
    --> |?SongArtist=Artist<!--
! style="padding: 0 7px; background: #CCCCFF" | Time of Podcast Release:
+
    --> |?SongTitle=Title<!--
|-
+
    --> |?SongDuration=Duration<!--
| [[PodcastReleaseDate::{{{podcastrelease|}}}]]
+
    --> |?SongLicense=License<!--
|-
+
    --> |?ArtistWebsite=Website<!--
! style="padding: 0 7px; background: #CCCCFF" | Podcast:
+
    --> |format=broadtable<!--
|-
+
    --> |offset=0<!--
| style="text-align: center;" | {{#ifexist: File:{{{podcast}}} | [[File:{{{podcast}}}|noicon]] }}
+
    --> |limit=-1<!--
|-
+
    --> |searchlabel=See list of all songs<!--
| style="text-align: center;" | {{#ifexist: File:{{{podcastmp3}}} | {{#tag:flashmp3 |{{{podcastmp3}}} }} }}
+
--> }}<!--
|-
+
--> |}
! 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
+
|offset=0
+
|limit=-1
+
|searchlabel=See list of all songs
+
}}
+
|}
+
|}
+
 
<!-- *** Let's automate the semantic info *** -->
 
<!-- *** Let's automate the semantic info *** -->
 
[[Category:RadioShow]]
 
[[Category:RadioShow]]
 +
[[ShowTopic::{{{topic}}}| ]]
 
{{#ifexist: File:{{{podcastmp3}}} | [[Mp3 Podcast::{{{podcastmp3}}}| ]] }}
 
{{#ifexist: File:{{{podcastmp3}}} | [[Mp3 Podcast::{{{podcastmp3}}}| ]] }}
 
{{#ifexist: File:{{{podcast}}} | [[PodcastName::{{{podcast}}}| ]] }}
 
{{#ifexist: File:{{{podcast}}} | [[PodcastName::{{{podcast}}}| ]] }}

Revision as of 16:24, 7 December 2009


Usage

Copy and paste this code or simply use the Form:RadioShow to add your show.

{{RadioShow
| topic=
| participants = <comma separated list of participants>
| recording=date
| broadcast=date
| podcastrelease=date
| podcast = <filename.ogg>
| podcastmp3 = <filename.mp3>
}}
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools