Difference between revisions of "Template:Person"

From ICPWiki
Jump to navigation Jump to search
Line 64: Line 64:
 
;email
 
;email
 
:The ICP email address. Do not enter other Email-Adresses here! Sets [[Property:Email]].
 
:The ICP email address. Do not enter other Email-Adresses here! Sets [[Property:Email]].
;former
+
;category
:Whether or not the person is a former member of the group. Set this to any string for a former member. Sets [[:Category::Former member]].
+
:Set this to the category the person is in. Use [[:Category:Staff member|''Staff member'']], [[:Category:Former member|''Former member'']] or [[:Category::Member of the research group|''Member of the research group'']]. Default: ''Member of the research group''.
;staff
 
:Whether or not the person is a staff member (secretary, system admin, ...). Sets [[:Category:Staff member]] if it is set, [[:Category:Member of the research group]] otherwise.
 
  
 
</noinclude>
 
</noinclude>

Revision as of 15:49, 11 June 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(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=
|title=
|status=
|room=
|phone=
|altphone=
|fax=
|email=
}}

Parameters

image
Image name. Default: No_photo.png. Sets Property:Image.
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. Use Staff member, Former member or [[:Category::Member of the research group|Member of the research group]]. Default: Member of the research group.