Template:ToolActions: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
font-size: larger |
||
| (95 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> |
|||
<includeonly>{| class="tooltable1" border="0" cellpadding="20" align="left" style="float: inherit;" |
|||
<table style="border: 2px solid; border-radius: 10px; padding: 5px; text-align: center; background: #fbfbfb;"> |
|||
|- |
|||
<tr><td style="padding: 5px;" > |
|||
| |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
{| class="tooltable_title" border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center" |
|||
{{#if:{{{ProceduresURL|}}}| |
|||
|- |
|||
<th style="background: Cornsilk; font-size: larger;">[{{{ProceduresURL}}} Instructions + Procedures]</th> |
|||
|<!-- ***IF NO ProceduresURL Provided*** --> |
|||
|- |
|||
<th style="background: Cornsilk; font-size: larger;">[[{{FULLPAGENAME}}#Operating_Procedures|Instructions + Procedures]]</th> |
|||
| |
|||
{| class="tooltable_content" border="0" cellpadding="2" cellspacing="1" style="background: none; border-top:1px solid #aaaaaa" |
|||
|-valign="top" style="border-bottom: 1px solid grey" |
|||
{{#if:{{{manufacturer|}}} | |
|||
!width=150{{!}}Manufacturer |
|||
!width=200 style="font-weight: normal; font-style: italic"{{!}}{{{manufacturer|NONE}}} |
|||
}} |
}} |
||
</table> |
|||
|-valign="top" style="border-bottom: 1px solid grey" |
|||
{{#if:{{{ |
{{#if:{{{ProcessControlURL|}}}| |
||
</td></tr><tr> |
|||
!width=150{{!}}Model |
|||
<td style="padding: 5px;"> |
|||
!width=200 style="font-weight: normal; font-style: italic"{{!}}{{{model|N/A}}} |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
<th style="background: Cornsilk; font-size: larger;"> [[{{{ProcessControlURL}}}|Process Control Data]]</th> |
|||
</tr></table> |
|||
|<!-- ***IF NO ProcessControlURL --> |
|||
}} |
}} |
||
<hr style="margin-top: 15px;"> |
|||
</td></tr> |
|||
{{#if:{{{description|}}} | |
|||
{{#if:{{{toolid|}}}|<!-- ***IF toolid is set*** --> |
|||
!width=150{{!}}Description |
|||
<tr><td style="padding: 5px;" > |
|||
!style="font-size: small; font-weight: normal; font-style: italic"{{!}}{{{description|}}} |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
<th style="background: AliceBlue; font-size: larger;">[https://signupmonkey.ece.ucsb.edu/cgi-bin/users/browse.cgi?tool_ID={{{toolid}}} Sign Up] |
|||
</th></table> |
|||
</td></tr> |
|||
|<!-- *** IF NO toolid*** --> |
|||
}} |
}} |
||
<tr> |
|||
|-valign="middle" |
|||
<td style="padding: 5px;" > |
|||
|colspan="2"|<hr> |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
|-valign="top" |
|||
<th style="background: AliceBlue; font-size: larger;"> |
|||
{{StaffContactInfo_DJ|{{{super|None}}}|}} |
|||
{{#if:{{{ |
{{#if:{{{TrainingURL|}}} |
||
|{{#ifeq:{{{TrainingURL}}}|None |
|||
{{!}}-valign="middle" style="border-bottom: 1px solid grey" |
|||
|No Training Required |
|||
{{!}}colspan="2"{{!}}<hr> |
|||
|[[{{{TrainingURL}}}|Get Trained]] |
|||
{{StaffInfoSecondary_DJ|{{{super2}}} }} |
|||
}}<!-- END IFEQ TrainingURL==None --> |
|||
| [https://signupmonkey.ece.ucsb.edu/cgi-bin/users/request-training.cgi?tool_ID={{{toolid}}} Get Trained] |
|||
}} |
}} |
||
</th></table> |
|||
|-valign="middle" |
|||
</td></tr> |
|||
|colspan="2"|<hr> |
|||
{{#if:{{{toolid|}}}|<!-- ***IF toolid is set*** --> |
|||
|-valign="top" |
|||
<tr> |
|||
{{#if:{{{materials|}}} | |
|||
<td style="padding: 5px;" > |
|||
!width=150{{!}}Materials |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
!width=200{{!}}{{{materials|}}} |
|||
<th style="background: AliceBlue; font-size: larger;">[https://signupmonkey.ece.ucsb.edu/cgi-bin/users/view-tool-reports.cgi?tool_ID={{{toolid}}} Maintenance<br>Messages] |
|||
</th></table> |
|||
</td></tr> |
|||
<tr> |
|||
<td style="padding: 5px;" > |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
<th style="background: AliceBlue; font-size: larger;">[https://signupmonkey.ece.ucsb.edu/cgi-bin/users/report-tool-issue.cgi?tool_ID={{{toolid}}} Report Issue] |
|||
</th></table> |
|||
</td></tr> |
|||
|<!-- *** IF NO toolid*** --> |
|||
<tr> |
|||
<td style="padding: 5px;" > |
|||
<table class="wikitable" style="margin: 0 auto; width: 100%;"> |
|||
<th style="background: AliceBlue; font-size: larger;">No Signups Required |
|||
</th></table> |
|||
</td></tr> |
|||
}} |
}} |
||
</table> |
|||
|-align="center" style="border-bottom: 1px solid grey" |
|||
</includeonly><noinclude> |
|||
!width=150{{!}}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|}}}| |
|||
{{!}}-valign="middle" |
|||
{{!}}colspan="2"{{!}}<hr> |
|||
{{!}}-valign="top" |
|||
!SignupMonkey: |
|||
{{!}}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]] |
|||
}} |
|||
|} |
|||
|} |
|||
|}</includeonly><includeonly>[[category:Tools]][[Category:{{{type|NONE}}}]]<br></includeonly><noinclude> |
|||
[[File:TOOL_actions_-_example_image. |
[[File:TOOL_actions_-_example_image.jpg|thumb|right|Example of a ToolActions box generated by this template.]] |
||
<br/><br/> |
<br/><br/> |
||
[[category:Templates]] |
[[category:Templates]] |
||
This template inserts a "Tool Actions" panel into a page, with various Buttons for SignUpMonkey actions such as '''(Report Tool Issue)''', '''(Maintenance Records)'''. |
This template inserts a "Tool Actions" panel into a page, with various Buttons for SignUpMonkey actions such as '''(Report Tool Issue)''', '''(Maintenance Records)''' and links to '''(Process Control Data)''' wiki pages. |
||
<br/><br/> |
<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, right after {{tl|tool2}}. |
||
<div style="width: 70%;"><pre> |
<div style="width: 70%;"><pre> |
||
{{ToolActions |
{{ToolActions |
||
|toolid = |
|toolid = 51 (from SignupMonkey) |
||
|ProcessControlURL = (blank will omit this section) |
|||
|manufacturer = MfgCorp. |
|||
|ProceduresURL = (blank will link to #Operating_Procedures |
|||
|model = (if applicable) |
|||
|TrainingURL = (blank will link to SignupMonkey Training Request) |
|||
|materials = (If applicable) |
|||
}} |
}} |
||
</pre></div> |
</pre></div> |
||
Replace the toolid with the number of the tool on SignupMonkey (last number in the URL for the tool), and |
|||
replace/deleted the Training/Instructions/ProcessControl URL's or leave blank if they don't exist as wiki pages. |
|||
</noinclude> |
</noinclude> |
||
| Line 80: | Line 90: | ||
=== Options === |
=== Options === |
||
You can add the following "arguments" in the template. |
You can add the following "arguments" in the template. |
||
* ''' |
* '''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. |
||
* '''ProcessControlURL''': (if applicable) URL to the Process Control wiki page. |
|||
* '''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. |
|||
* '''ProceduresURL''': (if applicable) URL to the SOP's/Instructions wiki page. If omitted, it will assume the existence of and link to the section '''Operating Procedures''' on the tools' wiki page. |
|||
* '''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! |
|||
* '''TrainingURL''': (if applicable) URL to a Training Video or Training procedure wiki page. |
|||
* '''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.) |
|||
* * If omitted, it will go directly to the SUM "request training" page according to the specified toolid. |
|||
* '''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.) |
|||
* * If you enter the value '''None''' this will display "No Training Required" |
|||
* '''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 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. |
|||
<b>To edit the Supervisor info listed, you must edit the [[Template:StaffContactInfo_DJ]] template in <tt>Edit Source</tt> mode.</b> |
|||
=== 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 == |
== Version == |
||
2025- |
2025-12-05 (Demis): first version, HTML tables, conditionals for toolid etc. |
||
</noinclude> |
</noinclude> |
||
Latest revision as of 09:30, 6 December 2025

This template inserts a "Tool Actions" panel into a page, with various Buttons for SignUpMonkey actions such as (Report Tool Issue), (Maintenance Records) and links to (Process Control Data) wiki pages.
Copy/paste the following code to include this template in a page. Preferably inserted at the top of the page, right after {{tool2}}.
{{ToolActions
|toolid = 51 (from SignupMonkey)
|ProcessControlURL = (blank will omit this section)
|ProceduresURL = (blank will link to #Operating_Procedures
|TrainingURL = (blank will link to SignupMonkey Training Request)
}}
Replace the toolid with the number of the tool on SignupMonkey (last number in the URL for the tool), and replace/deleted the Training/Instructions/ProcessControl URL's or leave blank if they don't exist as wiki pages.
Options
You can add the following "arguments" in the template.
- 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.
- ProcessControlURL: (if applicable) URL to the Process Control wiki page.
- ProceduresURL: (if applicable) URL to the SOP's/Instructions wiki page. If omitted, it will assume the existence of and link to the section Operating Procedures on the tools' wiki page.
- TrainingURL: (if applicable) URL to a Training Video or Training procedure wiki page.
- * If omitted, it will go directly to the SUM "request training" page according to the specified toolid.
- * If you enter the value None this will display "No Training Required"
Version
2025-12-05 (Demis): first version, HTML tables, conditionals for toolid etc.