Template:StaffContactInfo DJ: Difference between revisions

From UCSB Nanofab Wiki
Jump to navigation Jump to search
mNo edit summary
(updated editing instructions)
Line 6: Line 6:


=== How to edit contact info ===
=== How to edit contact info ===
<b>To edit the Supervisor info listed, you must edit this template in <tt>Edit Source</tt> mode.</b>
<b>To edit the Supervisor info listed, you must edit this template in <tt><u>Edit Source</u></tt> mode.</b>


Then find the line that shows the list of '''<tt>#if equals</tt>''' for each supervisor, which looks like this:
Then find the '''<tt>#if equals</tt>''' line for the supervisor you want to edit, which looks like this for "Jack Whaley", for example:
<nowiki>{{#ifeq: {{{1}}}|Jack Whaley|{{StaffInfo_DJ|Jack Whaley|(805) 893-1234|nanofab@ece.ucsb.edu}} }}</nowiki>
<nowiki>{{#ifeq: {{{1}}}|Jack Whaley|{{StaffInfo_DJ|Jack Whaley|(805) 893-1234|nanofab@ece.ucsb.edu}} }}</nowiki>


It is a bit of an eyesore because no newlines or spaces can be inserted between each supervisor's options.
(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 '''<tt>|super=</tt>''' argument. Then the '''<tt><nowiki>{{StaffInfo|</nowiki></tt>''' section lists the Supervisor's contact info (phone/email etc) that will be inserted.
You can see this 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 '''<tt><nowiki>{{</nowiki></tt>''' to the ending 4 brackets '''<tt><nowiki>}} }}</nowiki></tt>''', add it to the end of the list and edit the info as needed. Keep the list alphabetical by last name.
To make a new supervisor option, copy one of the sections from the first pair of curly brackets '''<tt><nowiki>{{</nowiki></tt>''' to the ending 4 brackets '''<tt><nowiki>}} }}</nowiki></tt>''', add it to the list and edit the info as needed. Keep the list alphabetical by last name.


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


</noinclude>
</noinclude>

Revision as of 09:28, 27 June 2022


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

How to edit contact info

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

Then find the #if equals line for the supervisor you want to edit, which looks like this for "Jack Whaley", for example:

{{#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 this 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 list and edit the info as needed. Keep the list alphabetical by last name.

Versions

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