Difference between revisions of "Template:Person"

From ICPWiki
Jump to: navigation, search
(Remove gravatar)
 
(69 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>{{#ifeq:{{{category}}}|former
 
<includeonly>{{#ifeq:{{{category}}}|former
   |<div style="font-weight:bold;font-size:larger">As {{PAGENAME}} is not a member of our working group anymore, the information on this page might be outdated.</div>}}<div style="border: thin solid #D6D6D6; padding:10px; background-color: #F6F6F6; font-size:small;">
+
   |<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]]}}'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br>
+
{{#if:{{{image|}}}|[[Image:{{{image}}}|right|180px]]|[[Image:Placeholder.jpg|right|180px]]}}'''{{#if:{{{title|}}}|{{{title}}} {{PAGENAME}}|{{PAGENAME}}}}'''<br>{{#if:{{{status|}}}|{{{status}}}}}<br>
   <table style="background:transparent;">
+
   <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(0)711/685-'''{{{phone}}}'''</td></tr>
+
       |<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(0)711/685-'''{{{fax|63658}}}'''</td></tr>
+
       <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>[http://www.ica1.uni-stuttgart.de/nmt.php?page={{{email}}} {{{email}}} _at_ icp.uni-stuttgart.de]</td></tr>
+
       <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/>Pfaffenwaldring 27<br/>70569 Stuttgart<br/>Germany</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/>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]]|#default=[[Category:Member of the research group]]
 
   }}{{#if:{{{image|}}}
 
   }}{{#if:{{{image|}}}
   |[[Image::Image:{{{image}}}| ]]
+
   |{{#set:Image=Image:{{{image}}}}}
 
   }}{{#if:{{{title|}}}
 
   }}{{#if:{{{title|}}}
   |[[Title::{{{title}}} | ]]
+
   |{{#set:Academic Title={{{title}}}}}
 
   }}{{#if:{{{status|}}}
 
   }}{{#if:{{{status|}}}
   |[[Status::{{{status}}}| ]]
+
   |{{#set:Status={{{status}}}}}
 
   }}{{#if:{{{room|}}}
 
   }}{{#if:{{{room|}}}
   |[[Room::{{{room}}}| ]]
+
   |{{#set:Room={{{room}}}}}
 
   }}{{#if:{{{phone|}}}
 
   }}{{#if:{{{phone|}}}
   |[[Phone::{{{phone}}}| ]]
+
   |{{#set:Phone={{{phone}}}}}
 
   }}{{#if:{{{altphone|}}}
 
   }}{{#if:{{{altphone|}}}
   |[[External phone::{{{altphone}}}| ]]
+
   |{{#set:External phone={{{altphone}}}}}
 
   }}{{#if:{{{fax|}}}
 
   }}{{#if:{{{fax|}}}
   |[[Fax::{{{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}}
 
   }}
 
   }}
  [[Email::{{{email|???}}}| ]]
 
  [[Name::{{{name|}}}| ]]
 
 
}}</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 46: Line 53:
 
|room=123
 
|room=123
 
|phone=12345
 
|phone=12345
|altphone=0123/3456789
+
|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 65: Line 90:
 
|fax=
 
|fax=
 
|email=
 
|email=
 +
|researcherid=
 +
|category=
 +
|topical=
 +
|topical2=
 +
|topical3=
 +
|topical4=
 +
|topical5=
 +
|ordering=
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
Line 74: 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 86: 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]]  
+
:*''staff'' for [[:Category:Staff member|staff members]]  
::''former'' for [[:Category:Former member|former group members]]
+
:*''former'' for [[:Category:Former member|former group members]]
::anything else for [[:Category:Member of the research group|other members of the research group]]
+
:*[[: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 12:36, 29 May 2018

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 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


Placeholder.jpg
His Royal Majesty Person
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.
email
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:
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.