Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div class="eventTable">
+
{{#set:Speaker={{{speaker|(tba)}}}}}
<div class="eventTableCol1">
+
{{#set:Place={{{place|}}}}}
<div class="eventDate">{{{8|}}}</div>
+
{{#set:Time={{{time|}}}}}
<div class="eventPlace">{{{7|}}} ({{{5|}}})</div>
+
{{#set:From={{{from|}}}}}
</div>
+
{{#set:eventtitle={{{eventtitle|(tba)}}}}}
<div class="eventTableCol2">
+
{{#set:eventtype={{{eventtype|}}}}}
<div class="eventTitle"> {{#if:{{{9|}}}|{{Download|{{{9|}}}|{{{6|}}}}}|{{{6|}}}}} {{#if:{{{1|}}}|[[{{{1|}}}|<span style="font-size:64%;">(more...)</span>]]|}}</div>
+
{{#set:eventdate={{{eventdate|}}}}}
<div class="eventSpeaker">'''{{{2|}}}''', {{{4|}}}</div>
+
{{#set:eventpdflink={{{eventpdflink|}}}}}
</div>
+
;Title
 
+
:{{{eventtitle|(tba)}}}
</div>
+
;Speaker
</includeonly>
+
:{{{speaker|}}}
<noinclude>
+
;Affiliation
This template layouts the header of an event.
+
:{{{from|(none)}}}
 +
;Date
 +
:{{{eventdate|???}}}
 +
;Time
 +
:{{{eventtime|???}}}
 +
;Location
 +
:{{{place|???}}}
 +
;Type of the event
 +
:{{{eventtype|(none)}}}
 +
;PDF
 +
:{{#if:{{{eventpdflink|}}}|{{Download|{{{eventpdflink}}}}}}}
 +
;Other link
 +
:{{{link|}}}
  
 +
[[Category:event_entry]]
 +
</includeonly><noinclude>
 +
This template layouts the event entry page and puts the data into SMW.
 
== Parameters ==
 
== Parameters ==
# link
+
;place
# speaker
+
:Location of the event
# type
+
;eventdate
# from
+
;time
# time
+
;speaker
# title
+
;from
# place
+
:Affilication of the speaker
# eventdate
+
;eventtitle
# pdflink
+
;eventtype
 
+
:"Type" of the event (e.g. ICP Kolloquium)
== Example ==
+
;eventpdflink
{{Event
+
:Link to an (uploaded) PDF file
|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>

Revision as of 15:32, 28 March 2012

This template layouts the event entry page and puts the data into SMW.

Parameters

place
Location of the event
eventdate
time
speaker
from
Affilication of the speaker
eventtitle
eventtype
"Type" of the event (e.g. ICP Kolloquium)
eventpdflink
Link to an (uploaded) PDF file