Template:Tool: Difference between revisions

From UCSB Nanofab Wiki
Jump to navigation Jump to search
(debugging #ifeq showing on page)
No edit summary
 
(31 intermediate revisions by 4 users not shown)
Line 10: Line 10:
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
|-
|-
![[image:{{{picture|none.jpg}}}|350px|center|]]
![[image:{{{picture|none.jpg}}}|300x350px|center|]]
|-
|-
|}
|}
Line 24: Line 24:
!width=200|{{{location|}}}
!width=200|{{{location|}}}
|-valign="top"
|-valign="top"
!{{#ifeq:{{{super}}}|Tony Bosch|{{StaffInfo|Tony Bosch|(805) 893-3918X217| |bosch@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}{{#ifeq:{{{super}}}|Ning Cao|{{StaffInfo|Ning Cao|(805) 893-4689| |ningcao@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Don Freeborn|{{StaffInfo|Don Freeborn|(805) 893-3918x216| |dfreeborn@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Aidan Hopkins|{{StaffInfo|Aidan Hopkins|(805) 893-3918x208||hopkins@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Bill Mitchell|{{StaffInfo|Bill Mitchell|(805) 893-4974| |mitchell@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Tom Reynolds|{{StaffInfo|Tom Reynolds|(805) 893-3918x215||reynolds@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Mike Silva|{{StaffInfo|Mike Silva|(805) 893-3918x219||silva@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Biljana Stamenic|{{StaffInfo|Biljana Stamenic|(805) 893-4002 | |biljana@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Brian Thibeault|{{StaffInfo|Brian Thibeault|(805) 893-2268||thibeault@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Jack Whaley|{{StaffInfo|Jack Whaley|(805) 893-8174||whaley@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Luis Zuzunaga|{{StaffInfo|Luis Zuzunaga|(805) 893-3918x218||luis@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Zack Warburg|{{StaffInfo|Zack Warburg|(805) 893-3918x200| |zwarburg@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Brian Lingg|{{StaffInfo|Brian Lingg|(805) 893-3918X210||lingg@ece.ucsb.edu}}}}{{#ifeq:{{{super}}}|Tino Sy|{{StaffInfo|Tino Sy|(805) 893-3918x209||sy@ece.ucsb.edu}}}}
{{#ifeq: {{{super}}}|Tony Bosch|{{StaffInfo|Tony Bosch|(805) 893-3486||bosch@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Ning Cao|{{StaffInfo|Ning Cao|(805) 893-4689| |ningcao@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Mike Day|{{StaffInfo|Mike Day|(805) 893-3101||day@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Don Freeborn|{{StaffInfo|Don Freeborn|(805) 893-7975| |dfreeborn@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Aidan Hopkins|{{StaffInfo|Aidan Hopkins|(805) 893-2343||hopkins@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Demis D. John|{{StaffInfo|Demis D. John|(805) 893-5934||demis@ucsb.edu}} }}{{#ifeq: {{{super}}}|Brian Lingg|{{StaffInfo|Brian Lingg|(805) 893-8145||lingg_b@ucsb.edu}} }}{{#ifeq: {{{super}}}|Bill Mitchell|{{StaffInfo|Bill Mitchell|(805) 893-4974| |mitchell@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Dan Read|{{StaffInfo|Dan Read|(805) 893-3138||dread@ucsb.edu}} }}{{#ifeq: {{{super}}}|Tom Reynolds|{{StaffInfo|Tom Reynolds|(805) 893-8158||reynolds@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Lee Sawyer|{{StaffInfo|Lee Sawyer|(805) 893-2123||lee_sawyer@ucsb.edu}} }}{{#ifeq: {{{super}}}|Mike Silva|{{StaffInfo|Mike Silva|(805) 893-3096||silva@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Biljana Stamenic|{{StaffInfo|Biljana Stamenic|(805) 893-4002 | |biljana@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Tino Sy|{{StaffInfo|Tino Sy|(805) 893-4796||sy@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Brian Thibeault|{{StaffInfo|Brian Thibeault|(805) 893-2268||thibeault@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Zack Warburg|{{StaffInfo|Zack Warburg|(805) 893-3918x200| |zwarburg@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Jack Whaley|{{StaffInfo|Jack Whaley|(805) 893-8174||whaley@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Luis Zuzunaga|{{StaffInfo|Luis Zuzunaga|(805) 893-8258||luis@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Bill Millerski|{{StaffInfo|Bill Millerski|(805) 893-2655||wmillerski@ucsb.edu}} }}
|-
|-
|}
|}
Line 45: Line 45:
}}
}}
|-align="center"
|-align="center"
{{#ifeq: {{{type}}}|Vacuum Deposition|{{!}}colspan="2"{{!}}'''[[Vacuum Deposition Recipes{{!}}{{PAGENAME}} Recipes]]'''}}{{#ifeq: {{{type}}}|Dry Etch|{{!}}colspan="2"{{!}}'''[[Dry Etching Recipes{{!}}{{PAGENAME}} Recipes]]'''}}{{#if:{{{recipe|}}}|{{!}}colspan="2"{{!}}'''[[{{{recipe}}} Recipes{{!}}{{PAGENAME}} Recipes]]'''}}
{{#ifeq: {{{type}}}|Vacuum Deposition|{{!}}colspan="2"{{!}}'''[[Vacuum Deposition Recipes{{!}}{{{type}}} Recipes]]'''}}{{#ifeq: {{{type}}}|Dry Etch|{{!}}colspan="2"{{!}}'''[[Dry Etching Recipes{{!}}{{{type}}} Recipes]]'''}}{{#if:{{{recipe|}}}|{{!}}colspan="2"{{!}}'''[[{{{recipe}}} Recipes{{!}}{{{type}}} Recipes]]'''}}
|-
|-
|}
|}
Line 60: Line 60:
<noinclude>
<noinclude>
[[category:Templates]]
[[category:Templates]]
This template inserts a "Tool Info" panel into a page, including a tool photo, supervisor contact info and other relevant links.

Copy/paste the following code to include this template in a page. Preferably inserted at the top of the page.

<div style="width: 70%;"><pre>
<div style="width: 70%;"><pre>
{{tool|{{PAGENAME}}
{{tool
|super = Tool Supervisor name from the list below
|picture = toolName.jpg
|picture=Photo_of_the_tool_01.jpg
|type = ToolType
|type = One of the tool types from the list below
|super = fullName
|recipe = One of the process types, from the list below
|toolid = ### the Tool ID number from SignupMonkey
|location = Bay #
|location = Bay #
|description =
|description = This is a machine
|manufacturer =
|manufacturer = MfgCorp.
|materials = (If Applicable)
|model = (if applicable)
|materials = (If applicable)
|toolid = ### (this is the number at the end of the url for a tool on SignupMonkey. Using 999 will link to the Main tool page on SignupMonkey)
|recipe = The type of process that it is (Lithography, Vacuum Deposition, Dry Etching, Wet Etching, Thermal Processing)
}}
}}
</pre></div>
</pre></div>
</noinclude>

<noinclude>
<noinclude>
=== Options ===
<b>To edit the Supervisor info listed, you must edit this template.</b></noinclude>
You can add the following "arguments" in the template.
* '''Supervisor''': The '''<tt style="blue">|super = </tt>''' argument must match one of the names listed below, and email/phone will be filled in automatically. See the section below for available options/how to edit info.
* '''picture''': A photograph of the tool. You must Upload the image file first (see [[Special:Upload|Upload File]] on the left sidebar), then<br>Copy the resulting filename and Paste it into this argument. No Spaces Allowed in the filename!
* '''Type of Tool''': The '''<tt>|type = </tt>''' argument must match one of the defined values below. This will will automatically link to the correct ''Tool Listing'' wiki page (eg. Dry Etching vs. Deposition etc.)
* '''Recipe Link''': The '''<tt>|recipes = </tt>''' argument must match one of the defined values below. This will will automatically link to the correct ''Recipes'' wiki page (eg. Dry Etching vs. Deposition etc.)
* '''Tool ID on SignupMonkey''': The '''<tt>|toolid = </tt>''' argument will create a link to the Signup Monkey page for this tool. This is the number at the end of the url for a tool on SignupMonkey. Using 999 will link to the Main tool list on SignupMonkey.
* '''location, description, manufacturer, model, materials''' : You can type anything you want for these, or leave them out entirely to omit that section.
* '''Name''': By default, this argument is not included, and the title of the page will be used (which should be the name of the tool). If you want to change the name printed, add a line like:
*:<pre>|name = Optional Tool Name</pre>

=== Supervisor Information ===
The Supervisor information (email, phone) is inserted automatically by the template. Their info is coded in the template, hence there is no "email" or "phone" argument in the above example. This allows you to change their contact info in this template only, and the change will show up on all of their tool pages automatically.

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

Then find the line that shows the list of '''<tt>if equals</tt>''' for each supervisor, which looks like this:
<nowiki>{{#ifeq: {{{super}}}|Tony Bosch|{{StaffInfo|Tony Bosch|(805) 893-3486||bosch@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Ning Cao|{{StaffInfo|Ning Cao|(805) 893-4689| |ningcao@ece.ucsb.edu}} }} ....</nowiki>

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 information 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.

=== Arguments with Specific Values ===
The following arguments have specific options, only enter one of these values:
* '''super''':
*: Tony Bosch
*: Ning Cao
*: Mike Day
*: Don Freeborn
*: Aidan Hopkins
*: Demis D. John
*: Brian Lingg
*: Bill Mitchell
*: Dan Read
*: Tom Reynolds
*: Lee Sawyer
*: Mike Silva
*: Mike Barreraz
*: Biljana Stamenic
*: Tino Sy
*: Brian Thibeault
*: Zack Warburg
*: Jack Whaley
*: Luis Zuzunaga
*: Bill Millerski
* '''type''':
*: Vacuum Deposition
*: Dry Etch
*: Wet Processing
*: Thermal Processing
*: Packaging
*: Inspection, Test and Characterization
*:: (spaces are ok)
* '''recipe''':
*: Lithography
*: Vacuum Deposition (auto if `type` is set to this)
*: Dry Etching (auto if `type` is set to this)
*: Wet Etching
*: Thermal Processing
*: Packaging

</noinclude>

Latest revision as of 14:57, 30 August 2022

Tool Type NONE
Location
Description NONE
Manufacturer NONE

This template inserts a "Tool Info" panel into a page, including a tool photo, supervisor contact info and other relevant links.

Copy/paste the following code to include this template in a page. Preferably inserted at the top of the page.

{{tool
|super = Tool Supervisor name from the list below
|picture=Photo_of_the_tool_01.jpg
|type  = One of the tool types from the list below
|recipe = One of the process types, from the list below
|toolid = ### the Tool ID number from SignupMonkey
|location = Bay #
|description = This is a machine
|manufacturer = MfgCorp.
|model = (if applicable)
|materials = (If applicable)
}}


Options

You can add the following "arguments" in the template.

  • Supervisor: The |super = argument must match one of the names listed below, and email/phone will be filled in automatically. See the section below for available options/how to edit info.
  • picture: A photograph of the tool. You must Upload the image file first (see Upload File on the left sidebar), then
    Copy the resulting filename and Paste it into this argument. No Spaces Allowed in the filename!
  • Type of Tool: The |type = argument must match one of the defined values below. This will will automatically link to the correct Tool Listing wiki page (eg. Dry Etching vs. Deposition etc.)
  • Recipe Link: The |recipes = argument must match one of the defined values below. This will will automatically link to the correct Recipes wiki page (eg. Dry Etching vs. Deposition etc.)
  • Tool ID on SignupMonkey: The |toolid = argument will create a link to the Signup Monkey page for this tool. This is the number at the end of the url for a tool on SignupMonkey. Using 999 will link to the Main tool list on SignupMonkey.
  • location, description, manufacturer, model, materials : You can type anything you want for these, or leave them out entirely to omit that section.
  • Name: By default, this argument is not included, and the title of the page will be used (which should be the name of the tool). If you want to change the name printed, add a line like:
    |name = Optional Tool Name

Supervisor Information

The Supervisor information (email, phone) is inserted automatically by the template. Their info is coded in the template, hence there is no "email" or "phone" argument in the above example. This allows you to change their contact info in this template only, and the change will show up on all of their tool pages automatically.

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: {{{super}}}|Tony Bosch|{{StaffInfo|Tony Bosch|(805) 893-3486||bosch@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Ning Cao|{{StaffInfo|Ning Cao|(805) 893-4689| |ningcao@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 information 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.

Arguments with Specific Values

The following arguments have specific options, only enter one of these values:

  • super:
    Tony Bosch
    Ning Cao
    Mike Day
    Don Freeborn
    Aidan Hopkins
    Demis D. John
    Brian Lingg
    Bill Mitchell
    Dan Read
    Tom Reynolds
    Lee Sawyer
    Mike Silva
    Mike Barreraz
    Biljana Stamenic
    Tino Sy
    Brian Thibeault
    Zack Warburg
    Jack Whaley
    Luis Zuzunaga
    Bill Millerski
  • type:
    Vacuum Deposition
    Dry Etch
    Wet Processing
    Thermal Processing
    Packaging
    Inspection, Test and Characterization
    (spaces are ok)
  • recipe:
    Lithography
    Vacuum Deposition (auto if `type` is set to this)
    Dry Etching (auto if `type` is set to this)
    Wet Etching
    Thermal Processing
    Packaging