Difference between revisions of "Template:Eventheader"

From ICPWiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
* {{#if:{{{date|}}}|{{#dateformat:{{{date}}}}}{{#if:{{{time|}}}|, {{{time}}}}}}}
+
:{{#if:{{{date|}}}|{{#dateformat:{{{date}}}|dmy}}{{#if:{{{time|}}}|, {{{time}}}}}}}
 
:'''{{{title|(tba)}}}'''
 
:'''{{{title|(tba)}}}'''
 
{{#if:{{{speaker|}}}|:{{{speaker}}}{{#if:{{{affiliation|}}}|, {{{affiliation}}}}}}}
 
{{#if:{{{speaker|}}}|:{{{speaker}}}{{#if:{{{affiliation|}}}|, {{{affiliation}}}}}}}
Line 8: Line 8:
  
 
== Parameters ==
 
== Parameters ==
# link
+
* title
# speaker
+
* speaker
# type
+
* affiliation
# from
+
* date
# time
+
* time
# title
+
* location
# place
+
* type
# eventdate
+
* link
# pdflink
+
* pdf
  
 
== Example ==
 
== Example ==
Line 29: Line 29:
 
|link=http://www.icp.uni-stuttgart.de/~icp/Virtual_Soft_Matter_Seminar
 
|link=http://www.icp.uni-stuttgart.de/~icp/Virtual_Soft_Matter_Seminar
 
|pdf=Abstract_michlerKolloq_SS12.pdf
 
|pdf=Abstract_michlerKolloq_SS12.pdf
 +
}}
 +
{{Eventheader
 +
|title=Staying up late
 +
|speaker=Olaf Lenz
 +
|affiliation=ICP Stuttgart
 +
|date=2012-04-01
 +
|time=23:00
 +
|location=Office
 +
|type=ICP Seminar
 +
|link=http://www.icp.uni-stuttgart.de/~icp/Virtual_Soft_Matter_Seminar
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:06, 28 March 2012


This template layouts the header of an event.

Parameters

  • title
  • speaker
  • affiliation
  • date
  • time
  • location
  • type
  • link
  • pdf

Example

1 April 2012, 6:00
Getting up early
Olaf Lenz, ICP Stuttgart


1 April 2012, 23:00
Staying up late
Olaf Lenz, ICP Stuttgart