Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
 
(128 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{1|}}}
+
<includeonly>
{|class="eventTable"
+
;Title
! colspan ="2" align="left"| {{{1}}}
+
:{{#if:{{{title|}}}|[[Talk Title::{{{title}}}]]|(tba)}}
|-
+
;Speaker
|width = "15%" align="center" |{{{2|{{#ifeq:{{{2}}}|ICP Kolloquium|V27.01}}}}}
+
:{{#if:{{{speaker|}}}|{{#set:Speaker={{{speaker}}}}}{{{speaker}}}|(tba)}}
| align="left" | {{{1|}}}, {{{3|}}}
+
;Affiliation
|-
+
:{{#if:{{{affiliation|}}}|[[Affiliation::{{{affiliation}}}]]|(none)}}
|width = "15%" align="center" |{{{4|{{#ifeq:{{{2}}}|ICP Kolloquium|14:00}}}}}
+
;Date
| align="left" | {{{5|}}}
+
:[[Date::{{{date}}}]]
|}
+
;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.
  
</includeonly>
+
The talk pages are added to the [[:Category:SciTalk]].
<noinclude>
+
If both ''speaker'' and ''title'' are empty, the [[Property:Tba]] is set to true, otherwise it is false.
Example
+
 
{{event
+
== Parameters ==
|type=other
+
;location
|place= V57.01
+
:Location of the talk. Sets [[Property:Location]].
|person=Prof.X.Ample
+
;date
|from= IE Institute, Specimen University
+
:Date of the talks. Sets [[Property:Date]].
|time= 16:30
+
;time
|title= The art of nonstatements
+
:Time of the talk. Sets [[Property:Time]].
}}
+
;speaker
Usage:
+
:Speaker of the talk. Sets [[Property:Speaker]].
<pre><nowiki>
+
;affilitation
{{event
+
:Affiliation of the speaker. Sets [[Property:Affiliation]].
|type=ICP Kolloquium|ICP Seminar|other
+
;title
|place= The Room and Location  
+
:Title of the talk. Sets [[Property:Talk Title]].
|person=The Speaker
+
;host
|from= Institute, University, City, Country
+
:Hosting seminar/institution of the talk (e.g. ICP Kolloquium). Sets [[Property:Host]].
|time= The time the talk starts
+
;pdflink
|title= The title of the talk
+
:Link to an (uploaded) PDF file. Sets [[Property:PDFlink]].
}}
 
</nowiki></pre>
 
Type sets default values for place and time, if you do not specify them. For example:
 
<pre><nowiki>
 
{{event
 
|type=ICP Kolloquium
 
|person= The Speaker
 
|from= Institute, University, City, Country
 
|title= The title of the talk
 
}}
 
</nowiki></pre>
 
assumes "place= V27.01" and "time= 14:00":
 
{{event
 
|type=ICP Kolloquium
 
|person=The Speaker
 
|from= Institute, University, City, Country
 
|title= The title of the talk
 
}}
 
  
 
</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.