Template:StaffContactInfo DJ

From UCSB Nanofab Wiki
Revision as of 01:11, 27 June 2022 by John d (talk | contribs) (updated docs on how to edit contact info)
Jump to navigation Jump to search

This template contains Staff Contact Info, which is used on all Tool pages. Edit the source of this template to see/edit Staff Contact Info.

A single entry for a staff's contact info should look like the following syntax:

{{#ifeq: {{{1}}}|Jack Whaley|{{StaffInfo_DJ|Jack Whaley|(805) 893-1234|nanofab@ece.ucsb.edu}} }}

How to edit contact info

To edit the Supervisor info listed, you must edit this template in Edit Source mode.

Then find the line that shows the list of #if equals for each supervisor, which looks like this:

{{#ifeq: {{{1}}}|Jack Whaley|{{StaffInfo_DJ|Jack Whaley|(805) 893-1234|nanofab@ece.ucsb.edu}} }}

It is a bit of an eyesore because no newlines or spaces can be inserted between each supervisor's options.

You can see the First option Tony Bosch here is the name you type into the Tool Template's |super= argument. Then the {{StaffInfo| section lists the Supervisor's contact info (phone/email etc) that will be inserted.

To make a new supervisor option, copy one of the sections from the first pair of curly brackets {{ to the ending 4 brackets }} }}, add it to the end of the list and edit the info as needed. Keep the list alphabetical by last name.

Versions

2022-06-27 (Demis): initial version, single-point entryt for staff contact info