Difference between revisions of "Template:StaffContactInfo DJ"
(updated editing instructions) |
(updated instructions) |
||
Line 2: | Line 2: | ||
− | This template contains Staff Contact Info, which is inserted into all Tool pages. | + | This template contains Staff Contact Info (phone, email etc), which is <u><b>inserted into all Tool pages</b></u>. |
Edit the source of this template to see/edit Staff Contact Info. | Edit the source of this template to see/edit Staff Contact Info. | ||
− | + | == How to edit contact info == | |
− | + | To edit the Supervisor info, you must edit this template in <tt><u><b>Edit Source</b></u></tt> mode. | |
− | Then find the '''<tt># | + | Then find the '''<tt>#ifeq</tt>''' (<i>if equals</i>) 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> | ||
− | ( | + | You can see this lists the Supervisor's contact info (phone/email etc) that will be inserted. (The code is a bit of an eyesore because no newlines or spaces can be inserted between each supervisor's options.) |
− | + | <u><b>To add a new supervisor</b></u> option, copy one of the sections, starting 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. | |
− | |||
− | To | ||
=== Versions === | === Versions === | ||
− | 2022-06-26 (Demis): initial version, single-point | + | 2022-06-26 (Demis): initial version, single-point entry for staff contact info |
</noinclude> | </noinclude> |
Revision as of 02:54, 27 June 2022
This template contains Staff Contact Info (phone, email etc), 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, you must edit this template in Edit Source mode.
Then find the #ifeq (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}} }}
You can see this lists the Supervisor's contact info (phone/email etc) that will be inserted. (The code is a bit of an eyesore because no newlines or spaces can be inserted between each supervisor's options.)
To add a new supervisor option, copy one of the sections, starting 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 entry for staff contact info