Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{|class="eventTable"
+
;Title
!style="background-color:#f9fbff;border-style: solid; border-width: 0px 0 1px 0;border-color:#D6D6D6;"| <span style="font-size:67%;">{{{8|}}}</span>
+
:{{#if:{{{title|}}}|[[Talk Title::{{{title}}}]]|(tba)}}
| align="center" style="background-image:url('/~icp/event_leiste.jpg')" |'''{{#if:{{{9|}}}|{{Download|{{{9|}}}|{{{6|}}}}}|{{{6|}}}}} {{#if:{{{1|}}}|[[{{{1|}}}|<span style="font-size:54%;">(more...)</span>]]|}}'''
+
;Speaker
|-
+
:{{#if:{{{speaker|}}}|{{#set:Speaker={{{speaker}}}}}{{{speaker}}}|(tba)}}
|width = "17%" align="center" |<span style="font-size:67%;">{{{7|}}}({{{5|}}})</span>
+
;Affiliation
| align="left" style="padding:1em;"|{{{2|}}}, {{{4|}}}
+
:{{#if:{{{affiliation|}}}|[[Affiliation::{{{affiliation}}}]]|(none)}}
|}
+
;Date
</includeonly>
+
:[[Date::{{{date}}}]]
<noinclude>
+
;Time
{{template:event
+
:[[Time::{{{time|???}}}]]
|1.link
+
;Location
|2.speaker
+
:[[Location::{{{location|???}}}]]
|3.type
+
;Hosting seminar / institution
|4.from
+
:{{#if:{{{host|}}}|[[Host::{{{host}}}]]|(none)}}
|5.time
+
;PDF
|6.eventtitle
+
:{{#if:{{{pdflink|}}}|[[{{{pdflink}}}]]|(none)}}
|7.place
+
{{#if:{{{speaker|}}}{{{title|}}}|{{#set:Tba=false}}|{{#set:Tba=true}}}}
|8.eventdate
+
[[Category:SciTalk]]
|9.pdflink
+
</includeonly><noinclude>
}}
+
This template layouts the talk page and puts the data into SMW.
 +
 
 +
The talk pages are added to the [[:Category:SciTalk]].
 +
If both ''speaker'' and ''title'' are empty, the [[Property:Tba]] is set to true, otherwise it is false.
 +
 
 +
== Parameters ==
 +
;location
 +
:Location of the talk. Sets [[Property:Location]].
 +
;date
 +
:Date of the talks. Sets [[Property:Date]].
 +
;time
 +
:Time of the talk. Sets [[Property:Time]].
 +
;speaker
 +
:Speaker of the talk. Sets [[Property:Speaker]].
 +
;affilitation
 +
:Affiliation of the speaker. Sets [[Property:Affiliation]].
 +
;title
 +
:Title of the talk. Sets [[Property:Talk Title]].
 +
;host
 +
:Hosting seminar/institution of the talk (e.g. ICP Kolloquium). Sets [[Property:Host]].
 +
;pdflink
 +
:Link to an (uploaded) PDF file. Sets [[Property:PDFlink]].
 +
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:53, 3 April 2012

This template layouts the talk page and puts the data into SMW.

The talk pages are added to the Category:SciTalk. If both speaker and title are empty, the Property:Tba is set to true, otherwise it is false.

Parameters

location
Location of the talk. Sets Property:Location.
date
Date of the talks. Sets Property:Date.
time
Time of the talk. Sets Property:Time.
speaker
Speaker of the talk. Sets Property:Speaker.
affilitation
Affiliation of the speaker. Sets Property:Affiliation.
title
Title of the talk. Sets Property:Talk Title.
host
Hosting seminar/institution of the talk (e.g. ICP Kolloquium). Sets Property:Host.
pdflink
Link to an (uploaded) PDF file. Sets Property:PDFlink.