Difference between revisions of "Template:Person"

From ICPWiki
Jump to navigation Jump to search
Line 49: Line 49:
 
== Parameters ==
 
== Parameters ==
 
;image
 
;image
:Image name. Default: <code>No_photo.png</code>  
+
:Image name. Default: <code>No_photo.png</code>. Sets [[Property:Image]].
 
;title
 
;title
:The title of the person (e.g. ''Dr.'' or ''Prof. Dr.'')
+
:The title of the person (e.g. ''Dr.'' or ''Prof. Dr.''). Sets [[Property:Title]].
 
;status
 
;status
:Status in the group (PostDoc, Professor, PhD-student, ...)
+
:Status in the group (PostDoc, Professor, PhD-student, ...). Sets [[Property:Status]].
 
;room
 
;room
:Office number
+
:Office number. Sets [[Property:Room]].
 
;phone
 
;phone
:In-house phone number
+
:In-house phone number. Sets [[Property:Phone]].
 
;altphone
 
;altphone
:External phone number (optional!)
+
:External phone number (optional!). Sets [[Property:Altphone]].
 
;fax
 
;fax
:Fax number. Default: ''Secretaries fax number''.
+
:Fax number. Default: ''Secretaries fax number''. Sets [[Property:Fax]].
 
;email
 
;email
:The ICP email address. Do not enter other Email-Adresses here!
+
:The ICP email address. Do not enter other Email-Adresses here! Sets [[Property::Email]].
 
;former
 
;former
:Whether or not the person is a former member of the group. Set this to any string for a former member.
+
:Whether or not the person is a former member of the group. Set this to any string for a former member. Sets [[Property::Former]].
  
 
</noinclude>
 
</noinclude>

Revision as of 15:24, 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:Altphone.
fax
Fax number. Default: Secretaries fax number. Sets Property:Fax.
email
The ICP email address. Do not enter other Email-Adresses here! Sets Email.
former
Whether or not the person is a former member of the group. Set this to any string for a former member. Sets Former.