Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
King
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{category}}}|former | <includeonly>{{#ifeq:{{{category}}}|former | ||
|<div style="font-weight:bold;font-size:larger;margin:3%;">As {{PAGENAME}} is not a member of our working group anymore, the information on this page might be outdated.</div>}}<div class="personbox"> | |<div style="font-weight:bold;font-size:larger;margin:3%;">As {{PAGENAME}} is not a member of our working group anymore, the information on this page might be outdated.</div>}}<div class="personbox"> | ||
− | {{#if:{{{image|}}}|[[Image:{{{image}}}|right|180px]]|{{#widget:GravatarURL|email={{{email}}}|default=monsterid|size=180px}}}}'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br> | + | {{#if:{{{image|}}}|[[Image:{{{image}}}|right|180px]]|<span class="floatright"><span class="image">{{#widget:GravatarURL|email={{{email}}}|default=monsterid|size=180px}}</span></span>}}'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br> |
<table> | <table> | ||
{{#if:{{{room|}}} | {{#if:{{{room|}}} |
Revision as of 11:45, 9 January 2014
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 Allmandring 3 70569 Stuttgart Germany |
Error in widget GravatarURL: Syntax error in template "wiki:wiki:GravatarURL" on line 1 "http://www.gravatar.com/avatar/?d=&s=" modifier 'md5' not allowed by security setting
His Royal Majesty PersonKing
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 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= |researcherid= |category= |ordering= }}
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.
- The ICP email address. Do not enter other Email-Adresses here! Sets Property:Email address.
- researcherId
- Your ResearcherId. Sets Property:ResearcherId.
- category
- Set this to the category the person is in. Possible values:
- staff for staff members
- former for former group members
- holm, hilfer, harting, fyta or arnold for members of the research groups of the corresponding group leader
- ordering
- How the person is sorted inside the category. By default, this is 10.