Template:Tool2: Difference between revisions

From UCSB Nanofab Wiki
Jump to navigation Jump to search
No edit summary
(Remove "N/A" when "recipes" section is not shown)
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border="0" cellpadding="20" align="right" style="float: right;"
<includeonly>{| class="tooltable1" border="0" cellpadding="20" align="right" style="float: right;"
|-
|-
|
|
{| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center"
{| class="tooltable_title" border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center"
|-
|-
! style="background:skyblue;" |{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
! style="background:skyblue;" |{{{name|{{PAGENAME}}}}}
|-
|-
|
|
<!-- BORDER AROUND THE IMAGE -->
<!-- BORDER AROUND THE IMAGE -->
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
{| class="tooltable_img" border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #aaaaaa" align="center"
|-
|-
![[image:{{{picture|none.jpg}}}|300x350px|center|]]
![[image:{{{picture|none.jpg}}}|300x350px|center|]]
Line 16: Line 16:
|-
|-
|
|
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa"
{| class="tooltable_content" border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa"
|-valign="top"
|-valign="top"
!width=150|Location
!width=200|{{{location|}}}
|-valign="top" style="border-bottom: 1px solid grey"
!width=150|Tool Type
!width=150|Tool Type
!width=200|[[:Category:{{{type|NONE}}}|{{{type|NONE}}}]]
!width=200|[[:Category:{{{type|NONE}}}|{{{type|NONE}}}]]
|-valign="top" style="border-bottom: 1px solid grey"
{{#if:{{{manufacturer|}}} |
!width=150{{!}}Manufacturer
!width=200 style="font-weight: normal; font-style: italic"{{!}}{{{manufacturer|NONE}}}
}}
|-valign="top" style="border-bottom: 1px solid grey"
{{#if:{{{model|}}} |
!width=150{{!}}Model
!width=200 style="font-weight: normal; font-style: italic"{{!}}{{{model|N/A}}}
}}
|-valign="top" style="border-bottom: 1px solid grey"
{{#if:{{{description|}}} |
!width=150{{!}}Description
!style="font-size: small; font-weight: normal; font-style: italic"{{!}}{{{description|}}}
}}
|-valign="middle"
|colspan="2"|<hr>
|-valign="top"
|-valign="top"
{{StaffContactInfo_DJ|{{{super|None}}}|}}
!width=150|Location
!width=200|{{{location|}}}
{{#if:{{{super2|}}} |
{{!}}-valign="middle" style="border-bottom: 1px solid grey"
|-valign="top"
{{!}}colspan="2"{{!}}<hr>

{{#ifeq: {{{super}}}|Tony Bosch|{{StaffInfo_DJ|Tony Bosch|(805) 893-3486|bosch@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Ning Cao|{{StaffInfo_DJ|Ning Cao|(805) 893-4689|ningcao@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Mike Day|{{StaffInfo_DJ|Mike Day|(805) 893-3101|day@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Don Freeborn|{{StaffInfo_DJ|Don Freeborn|(805) 893-7975|dfreeborn@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Aidan Hopkins|{{StaffInfo_DJ|Aidan Hopkins|(805) 893-2343|hopkins@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Demis D. John|{{StaffInfo_DJ|Demis D. John|(805) 893-5934|demis@ucsb.edu}} }}{{#ifeq: {{{super}}}|Brian Lingg|{{StaffInfo_DJ|Brian Lingg|(805) 893-8145|lingg_b@ucsb.edu}} }}{{#ifeq: {{{super}}}|Bill Mitchell|{{StaffInfo_DJ|Bill Mitchell|(805) 893-4974|mitchell@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Dan Read|{{StaffInfo_DJ|Dan Read|(805) 893-3138|dread@ucsb.edu}} }}{{#ifeq: {{{super}}}|Tom Reynolds|{{StaffInfo_DJ|Tom Reynolds|(805) 893-8158|reynolds@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Lee Sawyer|{{StaffInfo_DJ|Lee Sawyer|(805) 893-2123|lee_sawyer@ucsb.edu}} }}{{#ifeq: {{{super}}}|Mike Silva|{{StaffInfo_DJ|Mike Silva|(805) 893-3096|silva@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Biljana Stamenic|{{StaffInfo_DJ|Biljana Stamenic|(805) 893-4002|biljana@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Tino Sy|{{StaffInfo_DJ|Tino Sy|(805) 893-4796|sy@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Brian Thibeault|{{StaffInfo_DJ|Brian Thibeault|(805) 893-2268|thibeault@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Zack Warburg|{{StaffInfo_DJ|Zack Warburg|none|nanofab@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Jack Whaley|{{StaffInfo_DJ|Jack Whaley|none|nanofab@ece.ucsb.edu}} }}{{#ifeq: {{{super}}}|Luis Zuzunaga|{{StaffInfo_DJ|Luis Zuzunaga|(805) 893-8258|luis@ece.ucsb.edu}} }}
|}
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa"
|-valign="top"
{{StaffInfoSecondary_DJ|{{{super2}}} }}
{{StaffInfoSecondary_DJ|{{{super2}}} }}
|}
{| border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa"
|-valign="top"
!width=150|Description
!width=200|{{{description|NONE}}}
|-valign="top"
!width=150|Manufacturer
!width=200|{{{manufacturer|NONE}}}
|-valign="top"
{{#if:{{{model|}}} |
!width=150{{!}}Model
!width=200{{!}}{{{model|}}}
}}
}}
|-valign="middle"
|colspan="2"|<hr>
|-valign="top"
|-valign="top"
{{#if:{{{materials|}}} |
{{#if:{{{materials|}}} |
Line 48: Line 54:
!width=200{{!}}{{{materials|}}}
!width=200{{!}}{{{materials|}}}
}}
}}
|-align="center"
|-align="center" style="border-bottom: 1px solid grey"
!width=150{{!}}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]]'''}}
!{{#ifeq: {{{type}}}|Vacuum Deposition|{{!}}'''[[Vacuum Deposition Recipes{{!}}{{{type}}} Recipes]]'''}}{{#ifeq: {{{type}}}|Dry Etch|{{!}}'''[[Dry Etching Recipes{{!}}{{{type}}} Recipes]]'''}}{{#if:{{{recipe|}}}|{{!}}'''[[{{{recipe}}} Recipes{{!}}{{{type}}} Recipes]]'''|}}
|-
|- style="border-bottom: 1px solid grey"
|}
{{#if:{{{toolid|}}}|
{{#if:{{{toolid|}}}|
{{!}}-valign="middle"
{{{!}} border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa"
{{!}}colspan="2"{{!}}<hr>
{{!}}-valign="top"
{{!}}-valign="top"
!SignupMonkey:
{{!}}width=350 align=center{{!}}[http://signupmonkey.ece.ucsb.edu/cgi-bin/users/{{#ifeq:{{{toolid|}}}|999|tools.cgi|browse.cgi?tool_ID={{{toolid|}}}}} Sign up for this tool]
{{!}}width=200 align=center{{!}}[http://signupmonkey.ece.ucsb.edu/cgi-bin/users/{{#ifeq:{{{toolid|}}}|999|tools.cgi|browse.cgi?tool_ID={{{toolid|}}}}} Sign up for this tool]
{{!}}-
{{!}}-
{{!}}}|[[category:NOID]]
|[[category:NOID]]
}}
}}
|}
|}
|}
|}
<includeonly>[[category:Tools]][[Category:{{{type|NONE}}}]]</includeonly>
|}</includeonly><includeonly>[[category:Tools]][[Category:{{{type|NONE}}}]]</includeonly><noinclude>

<noinclude>
[[File:TOOL_template_-_example_image.png|frameless|right|Example of a Tool's InfoBox generated by this "Tool" template.]]

<br/><br/>

[[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.
This template inserts a "Tool Info" panel into a page, including a tool photo, supervisor contact info and other relevant info/links.
<br/><br/>



Copy/paste the following code to include this template in a page. Preferably inserted at the top of the page.
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
{{tool2
|super = Tool Supervisor name from the list below
|super = Tool Supervisor name from the list below
|super2 = Backup Tool Supervisor name from the list below
|super2 = Backup Tool Supervisor name from the list below
Line 88: Line 102:
=== Options ===
=== Options ===
You can add the following "arguments" in the template.
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.
* '''Primary 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.
* '''Secondary Supervisor''': Similar to above, but use the '''<tt style="blue">|super2 = </tt>''' argument to list a secondary supervisor. This is optional and can be omitted.
* '''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!
* '''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.)
* '''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.)
Line 97: Line 112:
*:<pre>|name = Optional Tool Name</pre>
*:<pre>|name = Optional Tool Name</pre>


=== Supervisor Information ===
=== Supervisor Contact 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.
The Supervisor information (email, phone) is inserted automatically by the template [[Template:StaffContactInfo_DJ]]. Their contact info is coded in that template, hence there is no "email" or "phone" argument in the above example. This allows you to change their contact info in the [[Template:StaffContactInfo_DJ]] 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>
<b>To edit the Supervisor info listed, you must edit the [[Template:StaffContactInfo_DJ]] 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 ===
=== Arguments with Specific Values ===
The following arguments have specific options, only enter one of these values:
The following arguments have specific options, only enter one of these values:
* '''super''':
* '''super''': primary tool supervisor
* ''These values are coded in the StaffContactInfo_DJ template.''
*: Michael Barreraz
*: Tony Bosch
*: Tony Bosch
*: Ning Cao
*: Ning Cao
Line 120: Line 128:
*: Aidan Hopkins
*: Aidan Hopkins
*: Demis D. John
*: Demis D. John
*: Peder Lenvik
*: Brian Lingg
*: Brian Lingg
*: Bill Millerski
*: Bill Mitchell
*: Bill Mitchell
*: Dan Read
*: Dan Read
*: Tom Reynolds
*: Tom Reynolds
*: Lee Sawyer
*: Lee Saywer
*: Mike Silva
*: Mike Silva
*: Biljana Stamenic
*: Biljana Stamenic
Line 132: Line 142:
*: Jack Whaley
*: Jack Whaley
*: Luis Zuzunaga
*: Luis Zuzunaga
* '''type''':
* '''super2''': secondary tool supervisor/backup
*: Same options as above for '''super'''. These values are determined by the [[Staff_List]] page titles.
* '''type''': type of tool
*: Vacuum Deposition
*: Vacuum Deposition
*: Dry Etch
*: Dry Etch
Line 140: Line 152:
*: Inspection, Test and Characterization
*: Inspection, Test and Characterization
*:: (spaces are ok)
*:: (spaces are ok)
* '''recipe''':
* '''recipe''': type of recipes
*: Lithography
*: Lithography
*: Vacuum Deposition (auto if `type` is set to this)
*: Vacuum Deposition (auto if `type` is set to this)
Line 149: Line 161:


== Version ==
== Version ==
2022-06-21: Added "_DJ" to the name. Removed 2nd args from StafInfo and StaffInfoSecondary. Added _DJ to StaffInfo & StaffinforSecondary.
2022-06-21: (Demis) Added "_DJ" to the name. Removed 2nd args from StafInfo and StaffInfoSecondary. Added _DJ to StaffInfo & StaffinforSecondary.

2022-06-22: (Demis) moved contact info to https://wiki.nanotech.ucsb.edu/wiki/Template:StaffContactInfo_DJ

2022-10-19: added conditional IF around Recipes/Mfg/Model sections, to remove those sections text from tools withoutthem (eg. wet benches etc). Made Mfg,Model,Description italics, not bold.

TO DO:
#constrain widths of very long description/mfg/model to 200px.
#make Recipes section optional via #IF conditional. Doesn't appear to work with the auto-"recipes" template coding.


</noinclude>
</noinclude>

Latest revision as of 22:53, 31 May 2024


Example of a Tool's InfoBox generated by this "Tool" template.



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


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

{{tool2
|super = Tool Supervisor name from the list below
|super2 = Backup 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.

  • Primary 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.
  • Secondary Supervisor: Similar to above, but use the |super2 = argument to list a secondary supervisor. This is optional and can be omitted.
  • 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 Contact Information

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

To edit the Supervisor info listed, you must edit the Template:StaffContactInfo_DJ template in Edit Source mode.

Arguments with Specific Values

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

  • super: primary tool supervisor
  • These values are coded in the StaffContactInfo_DJ template.
    Michael Barreraz
    Tony Bosch
    Ning Cao
    Mike Day
    Don Freeborn
    Aidan Hopkins
    Demis D. John
    Peder Lenvik
    Brian Lingg
    Bill Millerski
    Bill Mitchell
    Dan Read
    Tom Reynolds
    Lee Saywer
    Mike Silva
    Biljana Stamenic
    Tino Sy
    Brian Thibeault
    Zack Warburg
    Jack Whaley
    Luis Zuzunaga
  • super2: secondary tool supervisor/backup
    Same options as above for super. These values are determined by the Staff_List page titles.
  • type: type of tool
    Vacuum Deposition
    Dry Etch
    Wet Processing
    Thermal Processing
    Packaging
    Inspection, Test and Characterization
    (spaces are ok)
  • recipe: type of recipes
    Lithography
    Vacuum Deposition (auto if `type` is set to this)
    Dry Etching (auto if `type` is set to this)
    Wet Etching
    Thermal Processing
    Packaging

Version

2022-06-21: (Demis) Added "_DJ" to the name. Removed 2nd args from StafInfo and StaffInfoSecondary. Added _DJ to StaffInfo & StaffinforSecondary.

2022-06-22: (Demis) moved contact info to https://wiki.nanotech.ucsb.edu/wiki/Template:StaffContactInfo_DJ

2022-10-19: added conditional IF around Recipes/Mfg/Model sections, to remove those sections text from tools withoutthem (eg. wet benches etc). Made Mfg,Model,Description italics, not bold.

TO DO:

  1. constrain widths of very long description/mfg/model to 200px.
  2. make Recipes section optional via #IF conditional. Doesn't appear to work with the auto-"recipes" template coding.