Difference between revisions of "Template:Person"
Jump to navigation
Jump to search
(75 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div style=" | + | <includeonly>{{#ifeq:{{{category}}}|former |
− | [[Image:{{{image | + | |<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]]|[[Image:Placeholder.jpg|right|180px]]}}'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br> | |
− | + | <table> | |
{{#if:{{{room|}}} | {{#if:{{{room|}}} | ||
|<tr valign="top"><th style="text-align:right;">Office:</th><td>{{{room}}}</td></tr> | |<tr valign="top"><th style="text-align:right;">Office:</th><td>{{{room}}}</td></tr> | ||
}}{{#if:{{{phone|}}} | }}{{#if:{{{phone|}}} | ||
− | |<tr valign="top"><th style="text-align:right;">Phone:</th><td>+49 | + | |<tr valign="top"><th style="text-align:right;">Phone:</th><td>+49 711 685-'''{{{phone}}}'''</td></tr> |
}}{{#if:{{{altphone|}}} | }}{{#if:{{{altphone|}}} | ||
|<tr valign="top"><th style="text-align:right;">External phone:</th><td>{{{altphone}}}'''</td></tr> | |<tr valign="top"><th style="text-align:right;">External phone:</th><td>{{{altphone}}}'''</td></tr> | ||
}} | }} | ||
− | <tr valign="top"><th style="text-align:right;">Fax:</th><td>+49 | + | <tr valign="top"><th style="text-align:right;">Fax:</th><td>+49 711 685-'''{{{fax|63658}}}'''</td></tr> |
− | <tr valign="top"><th style="text-align:right;">Email:</th><td>[ | + | <tr valign="top"><th style="text-align:right;">Email:</th><td>[{{SERVER}}/nmt.php?page={{{email}}} {{{email}}} _at_ icp.uni-stuttgart.de]</td></tr> |
− | <tr valign="top"><th style="text-align:right;">Address:</th><td>{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}<br/>Institute for Computational Physics<br/>Universität Stuttgart<br/> | + | <tr valign="top"><th style="text-align:right;">Address:</th><td>{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}<br/>Institute for Computational Physics<br/>Universität Stuttgart<br/>Allmandring 3<br/>70569 Stuttgart<br/>Germany</td></tr> |
+ | {{#if:{{{researcherid|}}}|<tr><td colspan="2">{{#widget:ResearcherId|id={{{researcherid}}}}}</td></tr>}} | ||
</table> | </table> | ||
<div style="clear:both;margin:0;padding:0;"></div> | <div style="clear:both;margin:0;padding:0;"></div> | ||
− | |||
</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]]|fyta=[[Category:Fyta]]|smiatek=[[Category:Smiatek]]|degraaf=[[Category:deGraaf]]|schlaich=[[Category:Schlaich]]|#default=[[Category:Member of the research group]] |
}}{{#if:{{{image|}}} | }}{{#if:{{{image|}}} | ||
− | | | + | |{{#set:Image=Image:{{{image}}}}} |
}}{{#if:{{{title|}}} | }}{{#if:{{{title|}}} | ||
− | | | + | |{{#set:Academic Title={{{title}}}}} |
}}{{#if:{{{status|}}} | }}{{#if:{{{status|}}} | ||
− | | | + | |{{#set:Status={{{status}}}}} |
}}{{#if:{{{room|}}} | }}{{#if:{{{room|}}} | ||
− | | | + | |{{#set:Room={{{room}}}}} |
}}{{#if:{{{phone|}}} | }}{{#if:{{{phone|}}} | ||
− | | | + | |{{#set:Phone={{{phone}}}}} |
}}{{#if:{{{altphone|}}} | }}{{#if:{{{altphone|}}} | ||
− | | | + | |{{#set:External phone={{{altphone}}}}} |
}}{{#if:{{{fax|}}} | }}{{#if:{{{fax|}}} | ||
− | | | + | |{{#set:Fax={{{fax}}}}} |
+ | }}{{#if:{{{researcherid|}}} | ||
+ | |{{#set:ResearcherId={{{researcherid}}}}} | ||
+ | }} | ||
+ | {{#set:Email address={{{email|???}}}}} | ||
+ | {{#set:Ordering={{{ordering|10}}}}} | ||
+ | {{#set:Name={{{name|}}}}} | ||
+ | {{#set:board={{{board|1}}}}} | ||
+ | {{#switch:{{{category}}}|holm|arnold|fyta|smiatek|degraaf={{#set:Topical Meeting={{{topical|undefined}}}|{{{topical2|}}}|{{{topical3|}}}|{{{topical4|}}}|{{{topical5|}}} | {{{topical6|}}} }}|#default={{#set:Topical Meeting=none}} | ||
}} | }} | ||
− | |||
− | |||
}}</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. | ||
Line 47: | Line 53: | ||
|room=123 | |room=123 | ||
|phone=12345 | |phone=12345 | ||
− | |altphone= | + | |altphone=+49 123 3456789 |
+ | |fax=54321 | ||
+ | |email=king | ||
+ | |researcherid=A-7713-2008 | ||
+ | |ordering=10 | ||
+ | |nostore=1 | ||
+ | |topical=gel | ||
+ | |topical2=nanopore | ||
+ | }} | ||
+ | |||
+ | {{Person | ||
+ | |name=Kong, King | ||
+ | |title=His Royal Majesty | ||
+ | |status=King | ||
+ | |room=123 | ||
+ | |phone=12345 | ||
+ | |altphone=+49 123 3456789 | ||
|fax=54321 | |fax=54321 | ||
|email=king | |email=king | ||
+ | |researcherid=A-7713-2008 | ||
+ | |ordering=10 | ||
|nostore=1 | |nostore=1 | ||
}} | }} | ||
Line 66: | Line 90: | ||
|fax= | |fax= | ||
|email= | |email= | ||
+ | |researcherid= | ||
+ | |category= | ||
+ | |topical= | ||
+ | |topical2= | ||
+ | |topical3= | ||
+ | |topical4= | ||
+ | |topical5= | ||
+ | |ordering= | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 75: | Line 107: | ||
:Name of the person, in the order ''Surname, First name''. This is required for sorting people in a table, it is not shown anywhere. | :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 | ;title | ||
− | :The title of the person (e.g. ''Dr.'' or ''Prof. Dr.''). Sets [[Property:Title]]. | + | :The academic title of the person (e.g. ''Dr.'' or ''Prof. Dr.''). Sets [[Property:Academic Title]]. |
;status | ;status | ||
:Status in the group (PostDoc, Professor, PhD-student, ...). Sets [[Property:Status]]. | :Status in the group (PostDoc, Professor, PhD-student, ...). Sets [[Property:Status]]. | ||
Line 87: | Line 119: | ||
:Fax number. Default: ''Secretaries fax number''. Sets [[Property:Fax]]. | :Fax number. Default: ''Secretaries fax number''. Sets [[Property:Fax]]. | ||
;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 address]]. |
+ | ;researcherId | ||
+ | :Your ResearcherId. Sets [[Property:ResearcherId]]. | ||
;category | ;category | ||
:Set this to the category the person is in. Possible values: | :Set this to the category the person is in. Possible values: | ||
− | : | + | :*''staff'' for [[:Category:Staff member|staff members]] |
− | : | + | :*''former'' for [[:Category:Former member|former group members]] |
− | :: | + | :*[[:Category:Holm|''holm'']], [[:Category:Hilfer|''hilfer'']], [[:Category:Harting|''harting'']], [[:Category:Fyta|''fyta'']], [[:Category:deGraaf|''degraaf'']] or [[:Category:Arnold|''arnold'']] for members of the research groups of the corresponding group leader |
+ | ;topical | ||
+ | :Set this to the topical meeting the person belongs to. Possible values: ''undefined'', ''none'', ''espresso'', ''nanopore'', ''gel'', ''sampling'', ''electrokinetics'', ''atomistic''. Applies only to people in the categories [[:Category:Holm|''holm'']], [[:Category:Fyta|''fyta'']] and [[:Category:Arnold|''arnold'']]. | ||
+ | ;topical2 | ||
+ | :second topical meeting | ||
+ | ;topical3 | ||
+ | :third topical meeting | ||
+ | ;topical4 | ||
+ | :forth topical meeting | ||
+ | ;topical5 | ||
+ | :fifth topical meeting | ||
+ | ;ordering | ||
+ | :How the person is sorted inside the category. By default, this is 10. | ||
</noinclude> | </noinclude> |
Latest revision as of 17:05, 29 July 2020
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 711 685-12345 |
External phone: | +49 123 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 |
His Royal Majesty Person
King
King
Office: | 123 |
---|---|
Phone: | +49 711 685-12345 |
External phone: | +49 123 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= |researcherid= |category= |topical= |topical2= |topical3= |topical4= |topical5= |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, degraaf or arnold for members of the research groups of the corresponding group leader
- topical
- Set this to the topical meeting the person belongs to. Possible values: undefined, none, espresso, nanopore, gel, sampling, electrokinetics, atomistic. Applies only to people in the categories holm, fyta and arnold.
- topical2
- second topical meeting
- topical3
- third topical meeting
- topical4
- forth topical meeting
- topical5
- fifth topical meeting
- ordering
- How the person is sorted inside the category. By default, this is 10.