Difference between revisions of "Template:Infobox staff"

From TSG Doc
Jump to navigation Jump to search
Line 12: Line 12:
 
| label2          = {{#if:{{{expertise|}}}|Expertise}}
 
| label2          = {{#if:{{{expertise|}}}|Expertise}}
 
| data2          = {{{expertise|}}}
 
| data2          = {{{expertise|}}}
| header1         = Contact Information
+
| header3         = Contact Information
 
| label3          = {{#if:{{{email|}}}|E-mail}}
 
| label3          = {{#if:{{{email|}}}|E-mail}}
| data3          = {{#if:{{{email|}}}|[mailto:{{{email|}}}]}}
+
| data3          = {{#if:{{{email|}}}|[mailto:{{{email|}}}|{{{email|}}}]}}
 
| label4          = {{#if:{{{telephone|}}}|Telephone}}
 
| label4          = {{#if:{{{telephone|}}}|Telephone}}
 
| data4          = {{#if:{{{telephone|}}}|+31 2436 {{{telephone|}}}}}
 
| data4          = {{#if:{{{telephone|}}}|+31 2436 {{{telephone|}}}}}
| header2         = Visitor Information
+
| header5         = Visitor Information
 
| label5          = {{#if:{{{office|}}}|Office}}
 
| label5          = {{#if:{{{office|}}}|Office}}
 
| data5          = {{{office|}}}
 
| data5          = {{{office|}}}

Revision as of 11:11, 27 September 2016

Contact Information
Visitor Information

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

{{Infobox staff
| name           = 
| image          = <!-- Image name is enough -->
| image size     = 
| image alt      = 
| caption        = 
| role           =
| expertise      =
| email          = 
| telephone      =
| mobile         =
| website        = 
| office         = 
| building       = 
| working_days   = 
}} 

Example

Infobox staff
Heckert GNU white.svg
Guffin in 2016
RoleWiki editor
ExpertiseHTML, CSS
Contact Information
Telephone+31 2436 12345
Visitor Information
Working Days
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox staff
| name           = Mac Guffin
| image          = Heckert_GNU_white.svg
| caption        = Guffin in 2016
| role           = Wiki editor
| expertise      = HTML, CSS
| email          = tsg@socsci.ru.nl
| website        = {{URL|tsgdoc.socsci.ru.nl}}
| telephone      = 12560
| mobile         = +31 6 12345678
| office         = 0.660
| building       = Maria Montessori
| working_days   = {{unbulleted_list | Monday | Tuesday | Wednesday | Thursday | Friday}}
}} 

Parameters

All parameters are optional.

name
Name of the person.
image
Photo of the person. You may specify a full image syntax or just a file name, with or without namespace prefix. In other words, the following examples are all acceptable:
placeholder.png
File:placeholder.png
Image:placeholder.png
[[File:placeholder.png|300px]]
[[Image:placeholder.png|300px]]
image size
Size of the image. Defaults to frameless.
image alt
Text to show in case the image doesn't load.
caption
Caption of the image that appears below it. Typically describes when, where and/or by whom the picture was taken. Won't work without image.
role
Job description.
expertise
List of areas of expertise. If too many to include on one line, use unbulleted list.
email
Email address. Use unbulleted list if multiple addresses apply.
telephone
Telephone number (Radboud). Only enter the 5 digit Radboud number, it'll automatically add the country and area codes, etc.
mobile
Mobile phone number. Add full number, including country code, e.g. "+31"
website
Personal websites. Use unbulleted list if multiple addresses apply.
office
Office number.
building
Specify building on the campus, will appear in brackets after office number.
working_days
Days on which person is present. Use unbulleted list.