Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
;Title
 
;Title
:{{{eventtitle|(tba)}}}
+
:{{#if:{{{title|}}}|[[Talk Title::{{{title}}}]]|(tba)}}
 
;Speaker
 
;Speaker
:{{{speaker|}}}
+
:{{#if:{{{speaker|}}}|{{#set:Speaker={{{speaker}}}}}{{{speaker}}}|(tba)}}
 
;Affiliation
 
;Affiliation
:{{{from|(none)}}}
+
:{{#if:{{{affiliation|}}}|[[Affiliation::{{{affiliation}}}]]|(none)}}
 
;Date
 
;Date
:{{{eventdate|???}}}
+
:[[Date::{{{date}}}]]
 
;Time
 
;Time
:{{{eventtime|???}}}
+
:[[Time::{{{time|???}}}]]
 
;Location
 
;Location
:{{{place|???}}}
+
:[[Location::{{{location|???}}}]]
;Type of the talk
+
;Hosting seminar / institution
:{{{eventtype|(none)}}}
+
:{{#if:{{{host|}}}|[[Host::{{{host}}}]]|(none)}}
 
;PDF
 
;PDF
:{{#if:{{{eventpdflink|}}}|{{Download|{{{eventpdflink}}}}}}}
+
:{{#if:{{{pdflink|}}}|[[{{{pdflink}}}]]|(none)}}
;Other link
+
{{#if:{{{speaker|}}}{{{title|}}}|{{#set:Tba=false}}|{{#set:Tba=true}}}}
:{{{link|}}}
+
[[Category:SciTalk]]
 
 
{{#set:
 
Speaker={{{speaker|(tba)}}}
 
|Place={{{place|}}}
 
|Time={{{time|}}}
 
|From={{{from|}}}
 
|eventtitle={{{eventtitle|(tba)}}}
 
|eventtype={{{eventtype|}}}
 
|eventdate={{{eventdate|}}}
 
|eventpdflink={{{eventpdflink|}}}
 
}}[[Category:SciTalk]]
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
This template layouts the talk page and puts the data into SMW.
 
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 ==
 
== Parameters ==
;place
+
;location
:Location of the talk
+
:Location of the talk. Sets [[Property:Location]].
;eventdate
+
;date
 +
:Date of the talks. Sets [[Property:Date]].
 
;time
 
;time
 +
:Time of the talk. Sets [[Property:Time]].
 
;speaker
 
;speaker
;from
+
:Speaker of the talk. Sets [[Property:Speaker]].
:Affilication of the speaker
+
;affilitation
;eventtitle
+
:Affiliation of the speaker. Sets [[Property:Affiliation]].
;eventtype
+
;title
:"Type" of the talk (e.g. ICP Kolloquium)
+
:Title of the talk. Sets [[Property:Talk Title]].
;eventpdflink
+
;host
:Link to an (uploaded) PDF file
+
: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.