Difference between revisions of "Template:Person"

From ICPWiki
Jump to navigation Jump to search
Line 17: Line 17:
 
</div>
 
</div>
 
{{#if:{{{nostore|}}}||
 
{{#if:{{{nostore|}}}||
   {{#switch:{{{category}}}|former=[[Category:Former member]]|staff=[[Category:Staff member]]|holm=[[Category:Holm]]|hilfer=[[Category:Hilfer]]|harting=[[Category:Harting]]|arnold=[[Category:Arnold]]|#default=[[Category:Member of the research group]]|other=[[Category:Person]]
+
   {{#switch:{{{category}}}|former=[[Category:Former member]]|staff=[[Category:Staff member]]|holm=[[Category:Holm]]|hilfer=[[Category:Hilfer]]|harting=[[Category:Harting]]|arnold=[[Category:Arnold]]|#default=[[Category:Member of the research group]]
 
   }}{{#if:{{{image|}}}
 
   }}{{#if:{{{image|}}}
 
   |{{#set:Image=Image:{{{image}}}}}
 
   |{{#set:Image=Image:{{{image}}}}}
Line 93: Line 93:
 
:*''former'' for [[:Category:Former member|former group members]]
 
:*''former'' for [[:Category:Former member|former group members]]
 
:*[[:Category:Holm|''holm'']], [[:Category:Hilfer|''hilfer'']], [[:Category:Harting|''harting'']] or [[:Category:Arnold|''arnold'']] for members of the research groups of the corresponding group leader
 
:*[[:Category:Holm|''holm'']], [[:Category:Hilfer|''hilfer'']], [[:Category:Harting|''harting'']] or [[:Category:Arnold|''arnold'']] for members of the research groups of the corresponding group leader
:*''other'' for other [[:Category:Person|people]]
 
  
 
</noinclude>
 
</noinclude>

Revision as of 15:01, 2 April 2012

This template should be used at the top of each user page. It will generate a uniform header for the page and furthermore add the data to the database so that it can be used in the list of people.

Example

Olaf Lenz.jpg
His Royal Majesty Person
King
Office:123
Phone:+49(0)711/685-12345
External phone:0123/3456789
Fax:+49(0)711/685-54321
Email:king _at_ icp.uni-stuttgart.de
Address:His Royal Majesty Person
Institute for Computational Physics
Universität Stuttgart
Pfaffenwaldring 27
70569 Stuttgart
Germany


Template

You can copy the following template onto your user page and fill in the data.

{{Person
|image=
|name=
|title=
|status=
|room=
|phone=
|altphone=
|fax=
|email=
|category=
}}

Parameters

image
Image name. Sets Property:Image.
name
Name of the person, in the order Surname, First name. This is required for sorting people in a table, it is not shown anywhere.
title
The academic title of the person (e.g. Dr. or Prof. Dr.). Sets Property:Academic Title.
status
Status in the group (PostDoc, Professor, PhD-student, ...). Sets Property:Status.
room
Office number. Sets Property:Room.
phone
In-house phone number. Sets Property:Phone.
altphone
External phone number (optional!). Sets Property:External phone.
fax
Fax number. Default: Secretaries fax number. Sets Property:Fax.
email
The ICP email address. Do not enter other Email-Adresses here! Sets Property:Email.
category
Set this to the category the person is in. Possible values: