Difference between revisions of "Template:Infobox staff"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
(Created page with "{{Infobox | bodyclass = biography vcard | headerstyle = background:#b82b22;color:#fff; | labelstyle = white-space: nowrap; | datastyle = text-align:left;...") |
|||
(23 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
| headerstyle = background:#b82b22;color:#fff; | | headerstyle = background:#b82b22;color:#fff; | ||
+ | | abovestyle = background:#b82b22;color:#fff; | ||
| labelstyle = white-space: nowrap; | | labelstyle = white-space: nowrap; | ||
| datastyle = text-align:left; | | datastyle = text-align:left; | ||
− | | title = {{#if: | + | | title = |
− | + | | above = {{#if:{{{name|}}}|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}} | |
− | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|}}}}}}|sizedefault= | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|}}}}}}|sizedefault=frameless|alt={{{image alt|{{{image_alt|}}}}}}}} |
− | | caption = {{{caption|}}} | + | | caption = {{#if:{{{image|}}}|{{{caption|}}}}} |
− | | header1 = Contact Information | + | | header1 = {{#if:{{{role|}}}{{{expertise|}}}| Profile}} |
− | | | + | | label2 = {{#if:{{{role|}}}|Role}} |
− | | | + | | data2 = {{{role|}}} |
− | | | + | | label3 = {{#if:{{{expertise|}}}|Expertise}} |
− | | | + | | data3 = {{{expertise|}}} |
− | | | + | | header5 = {{#if:{{{email|}}}{{{telephone|}}}{{{mobile|}}}{{{website|}}}{{{office|}}}{{{working_days|}}}| Contact Information}} |
− | | | + | | label7 = {{#if:{{{email|}}}|E-mail}} |
− | | | + | | data7 = {{#if:{{{email|}}}|[mailto:{{{email|}}} {{{email|}}}]}} |
− | | | + | | label8 = {{#if:{{{telephone|}}}|Telephone}} |
− | | | + | | data8 = {{#if:{{{telephone|}}}|+31 24 36 {{{telephone|}}}}} |
+ | | label9 = {{#if:{{{mobile|}}}|Telephone}} | ||
+ | | data9 = {{#if:{{{mobile|}}}|{{{mobile|}}}}} | ||
+ | | label10 = {{#if:{{{website|}}}|Website}} | ||
+ | | data10 = {{#if:{{{website|}}}|{{{website|}}}}} | ||
+ | | label11 = {{#if:{{{office|}}}|Office}} | ||
+ | | data11 = {{{office|}}} {{#if:{{{building|}}}|({{{building|}}})}} | ||
+ | | label12 = {{#if:{{{working_days|}}}|Working Days}} | ||
+ | | data12 = {{{working_days|}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> |
Latest revision as of 12:28, 15 March 2023
[[Category:Infobox templates|Template:Remove first word]]
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
Mac Guffin | |
---|---|
Guffin in 2016 | |
Profile | |
Role | Wiki editor |
Expertise | HTML, CSS |
Contact Information | |
tsg@socsci.ru.nl | |
Telephone | +31 24 36 12345 |
Telephone | +31 6 12345678 |
Website | tsgdoc |
Office | 0.660 (Maria Montessori) |
Working Days |
|
{{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 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.
The above documentation is transcluded from Template:Infobox staff/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |