Difference between revisions of "Template:Person"

From ICPWiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#if:{{{nostore|}}}|{{#if:{{{image|}}}|[[Image::Image:{{{image}}}| ]]}}{{#if:{{{title|}}}|[[Title::{{{title}}} | ]]}}{{#if:{{{status|}}}|[[Status::{{{status}}}| ]]}}{{#if:{{{former|}}}|[[Former::{{{former}}}| ]]}}{{#if:{{{room|}}}|[[Room::{{{room}}}| ]]}}{{#if:{{{phone|}}}|[[Phone::{{{phone}}}| ]]}}{{#if:{{{altphone|}}}|[[External phone::{{{altphone}}}| ]]}}{{#if:{{{fax|}}}|[[Fax::{{{fax}}}| ]]}}[[Email::{{{email|???}}}| ]]}}<div style="border: thin solid #D6D6D6; padding:10px; background-color: #F6F6F6; font-size:small;">
+
<includeonly>{{#if:{{{nostore|}}}||{{#if:{{{image|}}}|[[Image::Image:{{{image}}}| ]]}}{{#if:{{{title|}}}|[[Title::{{{title}}} | ]]}}{{#if:{{{status|}}}|[[Status::{{{status}}}| ]]}}{{#if:{{{former|}}}|[[Former::{{{former}}}| ]]}}{{#if:{{{room|}}}|[[Room::{{{room}}}| ]]}}{{#if:{{{phone|}}}|[[Phone::{{{phone}}}| ]]}}{{#if:{{{altphone|}}}|[[External phone::{{{altphone}}}| ]]}}{{#if:{{{fax|}}}|[[Fax::{{{fax}}}| ]]}}[[Email::{{{email|???}}}| ]]}}<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|}}}

Revision as of 15:14, 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 711 685-12345
External phone:0123/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=
|title=
|status=
|room=
|phone=
|altphone=
|fax=
|email=
}}

Parameters

image
Image name. Default: No_photo.png
title
The title of the person (e.g. Dr. or Prof. Dr.)
status
Status in the group (PostDoc, Professor, PhD-student, ...)
room
Office number
phone
In-house phone number
altphone
External phone number (optional!)
fax
Fax number. Default: Secretaries fax number.
email
The ICP email address. Do not enter other Email-Adresses here!
former
Whether or not the person is a former member of the group. Set this to any string for a former member.