Difference between revisions of "Template:SciTalk"

From ICPWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
;Title
 
;Title
:{{{title|(tba)}}}
+
:{{#if:{{{title|}}}|[[Talk Title::{{{title}}}|(tba)}}
 
;Speaker
 
;Speaker
:{{{speaker|(tba)}}}
+
:{{#if:{{{speaker|}}}|[[Speaker::{{{speaker}}}]]|(tba)}}
 
;Affiliation
 
;Affiliation
:{{{affiliation|(none)}}}
+
:{{#if:{{{affiliation|}}}|[[Affiliation::{{{affiliation}}}]]|(none)}}
 
;Date
 
;Date
:{{{date|???}}}
+
:[[Date::{{{date}}}]]
 
;Time
 
;Time
:{{{time|???}}}
+
:[[Time::{{{time|???}}}]]
 
;Location
 
;Location
:{{{location|???}}}
+
:[[Location::{{{location|???}}}]]
;Type of the talk
+
;Hosting seminar / institution
:{{{host|(none)}}}
+
:{{#if:{{{host|}}}|[[Host::{{{host}}}]]|(none)}}
{{#if:{{{pdflink|}}}|
 
 
;PDF
 
;PDF
:[[{{{pdflink}}}]]
+
:{{#if:{{{pdflink|}}}|[[{{{pdflink}}}]]|(none)}}
}}
 
  
{{#set:
+
{{#if:{{{speaker|}}}{{{title|}}}||[[Category:NoTalk]]}}
{{#if:{{{speaker|}}}|Speaker={{{speaker|}}}}}
+
[[Category:SciTalk]]
|Location={{{location|}}}
 
|Time={{{time|}}}
 
|Affiliation={{{affiliation|}}}
 
|Talk Title={{{title|}}}
 
|Host={{{host|}}}
 
|Date={{{date|}}}
 
|PDFlink={{{pdflink|}}}
 
}}[[Category:SciTalk]]
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
This template layouts the talk page and puts the data into SMW.
 
This template layouts the talk page and puts the data into SMW.

Revision as of 15:32, 3 April 2012

This template layouts the talk page and puts the data into SMW.

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.