Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="eventTable">
+
;Title
<div class="eventTableCol1">
+
:{{#if:{{{title|}}}|[[Talk Title::{{{title}}}]]|(tba)}}
<div class="eventDate"> {{{8|}}}</div>
+
;Speaker
<div class="eventPlace"> {{{7|}}} ({{{5|}}})</div>
+
:{{#if:{{{speaker|}}}|{{#set:Speaker={{{speaker}}}}}{{{speaker}}}|(tba)}}
</div>
+
;Affiliation
<div class="eventTableCol2">
+
:{{#if:{{{affiliation|}}}|[[Affiliation::{{{affiliation}}}]]|(none)}}
<div class="eventTitle"> {{#if:{{{9|}}}|{{Download|{{{9|}}}|{{{6|(tba)}}}}}|{{{6|(tba)}}}}} {{#if:{{{1|}}}|[[{{{1|}}}|<span style="font-size:64%;">(more...)</span>]]|}}</div>
+
;Date
<div class="eventSpeaker">'''{{{2|}}}''', {{{4|}}}</div>
+
:[[Date::{{{date}}}]]
</div>
+
;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.
  
</div>
+
The talk pages are added to the [[:Category:SciTalk]].
</includeonly>
+
If both ''speaker'' and ''title'' are empty, the [[Property:Tba]] is set to true, otherwise it is false.
<noinclude>
 
This template layouts the header of an event.
 
  
 
== Parameters ==
 
== Parameters ==
# link
+
;location
# speaker
+
:Location of the talk. Sets [[Property:Location]].
# type
+
;date
# from
+
:Date of the talks. Sets [[Property:Date]].
# time
+
;time
# title
+
:Time of the talk. Sets [[Property:Time]].
# place
+
;speaker
# eventdate
+
:Speaker of the talk. Sets [[Property:Speaker]].
# pdflink
+
;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]].
  
== Example ==
 
{{Event
 
|http://www.icp.uni-stuttgart.de/~icp/Virtual_Soft_Matter_Seminar
 
|Olaf Lenz
 
|ICP Kolloquium
 
|ICP Stuttgart
 
|6:00
 
|Getting up early
 
|Bedroom
 
|2012-04-01
 
|Abstract_michlerKolloq_SS12.pdf
 
}}
 
 
</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.