Template:ToolActions: Difference between revisions

From UCSB Nanofab Wiki
Jump to navigation Jump to search
Content deleted Content added
added screnshot and updated insertion documentation
InstructionsURL --> ProceduresURL, conditional to auto-link to #Operating_procedures
Line 3: Line 3:
<tr><td style="padding: 5px;" >
<tr><td style="padding: 5px;" >
<table class="wikitable" style="margin: 0 auto; width: 100%;">
<table class="wikitable" style="margin: 0 auto; width: 100%;">
{{#if:{{{ProceduresURL|}}}|
<th style="background: Aquamarine;">[{{{InstructionsURL|{{PAGENAME}}}}} Instructions + Procedures]</th></table>
<th style="background: Aquamarine;">[{{{ProceduresURL}}} Instructions + Procedures]</th>
|<!-- ***IF NO ProceduresURL Provided*** -->
<th style="background: Aquamarine;">[{{{FULLPAGENAME}}}#Operating_Procedures Instructions + Procedures]</th>
}}
</table>
{{#if:{{{ProcessControlURL|}}}|
{{#if:{{{ProcessControlURL|}}}|
</td></tr><tr>
</td></tr><tr>
Line 10: Line 15:
<th style="background: Aquamarine;"> [{{{ProcessControlURL}}} Process Control Data]</th>
<th style="background: Aquamarine;"> [{{{ProcessControlURL}}} Process Control Data]</th>
</tr></table>
</tr></table>
|<!-- ***IF NO ProcessControlURL -->
|}}
}}
<hr style="margin-top: 15px;">
<hr style="margin-top: 15px;">
</td></tr>
</td></tr>
Line 69: Line 75:
|toolid = 51
|toolid = 51
|ProcessControlURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Process_Control_Data
|ProcessControlURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Process_Control_Data
|InstructionsURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Operating_Procedures
|ProceduresURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Operating_Procedures
|TrainingURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Video_Training
|TrainingURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Video_Training
}}
}}
Line 81: Line 87:
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.
* '''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.
* '''ProcessControlURL''': (if applicable) URL to the Process Control wiki page.
* '''InstructionsURL''': (if applicable) URL to the SOP's/Instructions 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.
* '''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.



Revision as of 03:33, 6 December 2025


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



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.

{{ToolActions
|toolid = 51 
|ProcessControlURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Process_Control_Data
|ProceduresURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Operating_Procedures
|TrainingURL = https://wiki.nanofab.ucsb.edu/wiki/Stepper_3_(ASML_DUV)#Video_Training
}}

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.


Version

2025-12-05 (Demis): first version, HTML tables, conditionals for toolid etc.