Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{{Person|}}}
+
<includeonly>{{{1|}}}
 
{|class="eventTable"
 
{|class="eventTable"
  ! colspan ="2" align="left"| {{{person}}}
+
  ! colspan ="2" align="left"| {{{1}}}
 
  |-  
 
  |-  
  |width = "15%" align="center" |{{{place|{{#ifeq:{{{type}}}|ICP Kolloquium|V27.01}}}}}
+
  |width = "15%" align="center" |{{{2|{{#ifeq:{{{2}}}|ICP Kolloquium|V27.01}}}}}
  | align="left" | {{{person|}}}, {{{from|}}}
+
  | align="left" | {{{1|}}}, {{{3|}}}
 
  |-
 
  |-
  |width = "15%" align="center" |{{{time|{{#ifeq:{{{type}}}|ICP Kolloquium|14:00}}}}}
+
  |width = "15%" align="center" |{{{4|{{#ifeq:{{{2}}}|ICP Kolloquium|14:00}}}}}
  | align="left" | {{{title|}}}
+
  | align="left" | {{{5|}}}
 
|}
 
|}
 
[]
 
[]

Revision as of 18:08, 5 December 2011


Example

Template:Event

Usage:

 {{event
 |type=ICP Kolloquium|ICP Seminar|other
 |place= The Room and Location 
 |person=The Speaker
 |from= Institute, University, City, Country
 |time= The time the talk starts
 |title= The title of the talk
 }}

Type sets default values for place and time, if you do not specify them. For example:

 {{event
 |type=ICP Kolloquium
 |person= The Speaker
 |from= Institute, University, City, Country
 |title= The title of the talk
 }}

assumes "place= V27.01" and "time= 14:00":

Template:Event