Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><div style="border: thin solid #D6D6D6; padding:10px; background-color: #F6F6F6; font-size:small;"> |
[[Image:{{{image|No_photo.png}}}|right|180px]]'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br><table> | [[Image:{{{image|No_photo.png}}}|right|180px]]'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br><table> | ||
{{#if:{{{room|}}} | {{#if:{{{room|}}} | ||
Line 16: | Line 16: | ||
<div style="clear:both;margin:0;padding:0;"></div> | <div style="clear:both;margin:0;padding:0;"></div> | ||
</div> | </div> | ||
+ | {{#if:{{{nostore|}}}|| | ||
+ | {{#switch|{{{category}}} | ||
+ | |former=[[Category:Former member]] | ||
+ | |staff=[[Category:Staff member]] | ||
+ | |#default=[[Category:Member of the research group]] | ||
+ | }} | ||
+ | {{#if:{{{image|}}} | ||
+ | |[[Image::Image:{{{image}}}| ]] | ||
+ | }} | ||
+ | {{#if:{{{title|}}} | ||
+ | |[[Title::{{{title}}} | ]] | ||
+ | }} | ||
+ | {{#if:{{{status|}}} | ||
+ | |[[Status::{{{status}}}| ]] | ||
+ | }} | ||
+ | {{#if:{{{room|}}} | ||
+ | |[[Room::{{{room}}}| ]] | ||
+ | }} | ||
+ | {{#if:{{{phone|}}} | ||
+ | |[[Phone::{{{phone}}}| ]] | ||
+ | }} | ||
+ | {{#if:{{{altphone|}}} | ||
+ | |[[External phone::{{{altphone}}}| ]] | ||
+ | }} | ||
+ | {{#if:{{{fax|}}} | ||
+ | |[[Fax::{{{fax}}}| ]] | ||
+ | }} | ||
+ | [[Email::{{{email|???}}}| ]] | ||
+ | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
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. | 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. |
Revision as of 16:04, 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
His Royal Majesty Person
King
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.
- 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
- anything else for other members of the research group