Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
 
(95 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
''{{{8}}}''
+
;Title
{|class="eventTable"
+
:{{#if:{{{title|}}}|[[Talk Title::{{{title}}}]]|(tba)}}
! colspan ="2" align="left"| {{{2}}}  
+
;Speaker
|-
+
:{{#if:{{{speaker|}}}|{{#set:Speaker={{{speaker}}}}}{{{speaker}}}|(tba)}}
|width = "15%" align="center" |{{{7|}}}
+
;Affiliation
| align="left" | {{{2|}}}, {{{4|}}}
+
:{{#if:{{{affiliation|}}}|[[Affiliation::{{{affiliation}}}]]|(none)}}
|-
+
;Date
|width = "15%" align="center" |{{{5}}}
+
:[[Date::{{{date}}}]]
| align="left" | {{{6|}}} |[[{{{1}}}<span style="font-size:64%;">|show more</span>]]
+
;Time
|}
+
:[[Time::{{{time|???}}}]]
 +
;Location
 +
:[[Location::{{{location|???}}}]]
 +
;Hosting seminar / institution
 +
:{{#if:{{{host|}}}|[[Host::{{{host}}}]]|(none)}}
 +
;PDF
 +
:{{#if:{{{pdflink|}}}|[[{{{pdflink}}}]]|(none)}}
 +
{{#if:{{{speaker|}}}{{{title|}}}|{{#set:Tba=false}}|{{#set:Tba=true}}}}
 +
[[Category:SciTalk]]
 +
</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]].
  
</includeonly>
 
<noinclude>
 
{{template:event
 
|1.link
 
|2.speaker
 
|3.type
 
|4.from
 
|5.time
 
|6.eventtitle
 
|7.place
 
|8.eventdate
 
}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16: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.