|
|
(75 intermediate revisions by the same user not shown) |
Line 2: |
Line 2: |
| <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> | | <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> |
| and then "edit with form" | | and then "edit with form" |
| | |
| | See [[:Template:{{PAGENAME}}/Details]] for more info. |
| | |
| | Edit pages with [[Form:Tool]]. |
|
| |
|
| ==Parameters== | | ==Parameters== |
Line 7: |
Line 11: |
| { | | { |
| "params": { | | "params": { |
| | "room": { |
| | "description": "which room at North Forge", |
| | "label": "Room", |
| | "type": "wiki-page-name", |
| | "suggested": true, |
| | "required": true |
| | }, |
| "photo": { | | "photo": { |
| "description": "photo of the tool, if available", | | "description": "Photo of the tool, if available", |
| "type": "wiki-file-name", | | "type": "wiki-file-name", |
| "suggested": true
| |
| },
| |
| "room": {
| |
| "description": "which room at north forge",
| |
| "label": "Room",
| |
| "type": "content",
| |
| "suggested": true | | "suggested": true |
| }, | | }, |
Line 25: |
Line 30: |
| }, | | }, |
| "related tools": { | | "related tools": { |
| "description": "links to related tool or jig pages", | | "description": "links to related tool or jig pages (ie. not just similar tools)", |
| "label": "Related tools", | | "label": "Related tools", |
| "type": "content", | | "type": "content", |
Line 33: |
Line 38: |
| "label": "Trainer(s)", | | "label": "Trainer(s)", |
| "description": "Semi-colon separated list of trainers", | | "description": "Semi-colon separated list of trainers", |
| | "type": "content", |
| | "suggested": true |
| | }, |
| | "knowledge keepers": { |
| | "label": "Knowledge keeper(s)", |
| | "description": "Semi-colon separated list of people who know much about the tool but are not trainers", |
| "type": "content", | | "type": "content", |
| "suggested": true | | "suggested": true |
Line 58: |
Line 69: |
| "description": "link to portal file for this tool's Safe Work Procedure document", | | "description": "link to portal file for this tool's Safe Work Procedure document", |
| "type": "url", | | "type": "url", |
| "suggested": true
| |
| },
| |
| "consumables": {
| |
| "label": "Consumables",
| |
| "description": "Information about consumables, link to consumables page if shop supplied",
| |
| "type": "content",
| |
| "suggested": true | | "suggested": true |
| }, | | }, |
Line 70: |
Line 75: |
| "max capacity" | | "max capacity" |
| ], | | ], |
| | "description": "max size of work, material restrictions, etc", |
| "label": "Work envelope/max capacity", | | "label": "Work envelope/max capacity", |
| "type": "string", | | "type": "content", |
| | "suggested": true |
| | }, |
| | "consumables": { |
| | "description": "consumables specific to this machine and whether North Forge provides and/or bills for them", |
| | "label": "consumables", |
| | "type": "content", |
| "suggested": true | | "suggested": true |
| | }, |
| | "other_details": { |
| | "description": "Other things people might want to use about this tool, e.g. where to get supplies in Winnipeg or a link to the manufatcurer's site; free content. ", |
| | "type": "content" |
| | }, |
| | "image_map_coordinates": { |
| | "description": "coordinates for placing the tool on image map. ", |
| | "type": "content" |
| | }, |
| | "equipment_type": { |
| | "description": "tool or infrastructure ", |
| | "type": "content" |
| } | | } |
| }, | | }, |
| "description": "This is the template for tool pages. It is used on tool pages, facilitated by [[Form:Tool]].", | | "description": "This is the template for tool pages. It is used on tool pages, facilitated by Form:Tool.", |
| "paramOrder": [ | | "paramOrder": [ |
| | "room", |
| "photo", | | "photo", |
| "room",
| |
| "model", | | "model", |
| "work envelope", | | "work envelope", |
Line 84: |
Line 108: |
| "related tools", | | "related tools", |
| "trainers", | | "trainers", |
| | "knowledge keepers", |
| "training docs", | | "training docs", |
| "SDS link", | | "SDS link", |
| "SWP link", | | "SWP link", |
| "consumables" | | "consumables", |
| ] | | "other_details", |
| | "image_map_coordinates", |
| | "equipment_type" |
| | ], |
| | "format": "block" |
| } | | } |
| </templatedata> | | </templatedata> |
Line 102: |
Line 131: |
| |related_tools = List (;) of page | | |related_tools = List (;) of page |
| |trainers = wikitext string | | |trainers = wikitext string |
| | |knowledge_keepers = wikitext string |
| |training_docs = wikitext string | | |training_docs = wikitext string |
| |SDS_link = URL | | |SDS_link = URL |
| |SWP_link = URL | | |SWP_link = URL |
| |consumables = wikitext string | | |consumables = wikitext string |
| | |image_map_coordinates = coordinates |
| | |equipment_type = wikitext string |
| }} | | }} |
| </noinclude><!-- | | </noinclude><!-- |
| --><table class="infobox"> | | --> |
| | <tabber> |
| | |-|General= |
| | <table class="infobox"> |
| <tr class="infobox-header"> | | <tr class="infobox-header"> |
| <th colspan="2">[[Tools]]</th> | | <th colspan="2">[[Tools]]</th> |
Line 114: |
Line 149: |
| <tr> | | <tr> |
| <td colspan="2" class="infobox-image"> | | <td colspan="2" class="infobox-image"> |
| [[{{#ifexist: {{{photo}}} | {{{photo}}} | File:NF no photo.png }}|300px|noframe]] | | [[File:{{{photo|NF no photo.png}}}|300px|Picture of {{PAGENAME}} in the fablab]] |
| </td> | | </td> |
| </tr> | | </tr> |
Line 127: |
Line 162: |
| <tr> | | <tr> |
| <th class="infobox-label">Work envelope/max capacity</th> | | <th class="infobox-label">Work envelope/max capacity</th> |
| <td>{{{work envelope|{{{max capacity|}}}}}}</td> | | <td> |
| | {{{work envelope|{{{max capacity|}}}}}}</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
Line 134: |
Line 170: |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <th class="infobox-label">Related tools</th> | | <th class="infobox-label">Related [[tools]]</th> |
| <td>{{{related tools|}}}</td> | | <td>{{#invoke:String | splitAndLink | source={{{related tools|}}} }}</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <th class="infobox-label">Trainer(s)</th> | | <th class="infobox-label">[[Trainers | Trainer(s)]]</th> |
| <td>{{{trainers|}}}</td> | | <td>{{{trainers|}}}</td> |
| | </tr> |
| | <tr> |
| | <th class="infobox-label">[[Training Sessions]]</th> |
| | <td>{{#cargo_query: |
| | |tables=training_session |
| | |fields=training_session._pageName |
| | |where=tools holds "{{PAGENAME}}" |
| | |order by=training_session._pageName |
| | |default=no training sessions include this tool |
| | |format=ul |
| | }} |
| | </td> |
| | </tr> |
| | <tr> |
| | <th class="infobox-label">Knowledge keeper(s)</th> |
| | <td>{{{knowledge keepers|}}}</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
Line 146: |
Line 198: |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <th class="infobox-label">SDS document</th> | | <th class="infobox-label">[[Material Safety Data Sheet (MSDS)]]</th> |
| <td>{{{SDS link|}}}</td> | | <td>{{{SDS link|}}}</td> |
| </tr> | | </tr> |
Line 157: |
Line 209: |
| <td>{{{consumables|}}}</td> | | <td>{{{consumables|}}}</td> |
| </tr> | | </tr> |
| </table><!-- | | <tr> |
| | <th class="infobox-label">[[Software]]</th> |
| | <td>{{#cargo_query: |
| | |tables=software |
| | |fields=_pageName |
| | |where=associated_tools holds "{{PAGENAME}}" |
| | |order by=_pageName |
| | |default=this machine has no software listed |
| | |format=ul |
| | }}</td> |
| | </tr> |
| | <tr> |
| | <th class="infobox-label">Equipment type</th> |
| | <td>{{{equipment_type|tool}}}</td> |
| | </tr> |
| | </table> |
| | |
| | {{Collapsable | always = [[{{{room}}}/Precautions | {{{room}}} Precautions]] apply | |
| | full = {{Room Preamble | {{{room}}} }} |
| | {{:{{{room}}}/Precautions}} |
| | }} |
| | |
| | {{{other details|}}} |
| | <!-- |
| | --> |
| | |-|Instructions = |
| | {{#ifexist::Instructions:{{PAGENAME}} |
| | |''edit these instructions at [[Instructions:{{PAGENAME}}]]'' <br><br> |
| | {{:Instructions:{{PAGENAME}}}} |
| | | [[:Instructions:{{PAGENAME}}]] doesn't exist yet }} |
| | <!-- |
| | --> |
| | </tabber> |
| | <!-- |
| --><includeonly><!-- | | --><includeonly><!-- |
| -->{{#cargo_query: | | -->__NOCACHE__<!-- |
| intro====Break Log===
| | -->{{#cargo_store: |
| |tables=broken
| | equipment_type={{{equipment_type|tool}}} |
| |fields=problem, severity, datetime_reported, datetime_fix_expected, datetime_fixed
| |
| |where=_pageName="{{PAGENAME}}"
| |
| |order by=datetime_reported desc
| |
| |limit=200
| |
| |default=
| |
| |more results text=see older breaks
| |
| }}<!-- | | }}<!-- |
| -->{{#cargo_query:
| |
| intro====Maintenance Log===
| |
| |tables=maintenance
| |
| |fields=maintenance_task, date_done, date_next_required
| |
| |where=_pageName="{{PAGENAME}}"
| |
| |order by=date_done desc, date_next_required desc
| |
| |limit=200
| |
| |default=
| |
| |more results text=see older breaks
| |
| }}<!--
| |
| -->__NOCACHE__<!--
| |
| -->{{#cargo_store:}}<!--
| |
| -->[[Category:Tool]]<!-- | | -->[[Category:Tool]]<!-- |
| | -->{{#default_form:Tool}}<!-- |
| --></includeonly> | | --></includeonly> |