Difference between revisions of "Template:Person"

From ICPWiki
Jump to: navigation, search
Line 17: Line 17:
 
</div>
 
</div>
 
{{#if:{{{nostore|}}}||
 
{{#if:{{{nostore|}}}||
   {{#switch:{{{category}}}|former=[[Category:Former member]]|staff=[[Category:Staff member]]|#default=[[Category:Member of the research group]]
+
   {{#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|}}}
 
   |[[Image::Image:{{{image}}}| ]]
 
   |[[Image::Image:{{{image}}}| ]]
Line 91: Line 91:
 
::''staff'' for [[:Category:Staff member|staff members]]  
 
::''staff'' for [[:Category:Staff member|staff members]]  
 
::''former'' for [[:Category:Former member|former group members]]
 
::''former'' for [[:Category:Former member|former group members]]
::anything else for [[:Category:Member of the research group|other members of the research group]]
+
::''holm'', ''hilfer'', ''harting'' or ''arnold'' for members of the research groups of the corresponding group leader
  
 
</noinclude>
 
</noinclude>

Revision as of 16:55, 16 September 2010

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 711 685-12345
External phone:0123/3456789
Fax:+49 711 685-54321
Email:king _at_ icp.uni-stuttgart.de
Address:His Royal Majesty Person
Institute for Computational Physics
Universität Stuttgart
Allmandring 3
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=
}}

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 title of the person (e.g. Dr. or Prof. Dr.). Sets Property: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:
staff for staff members
former for former group members
holm, hilfer, harting or arnold for members of the research groups of the corresponding group leader