Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Maintenance log: Difference between revisions

Template page
Created page with "<noinclude>== Usage == <nowiki>{{</nowiki>{{PAGENAME}} <nowiki>}}</nowiki> and then "edit with form" ==Parameters== <templatedata> { "params": { "maintenance task": { "description": "links to related tool or jig pages", "label": "Related tools", "type": "content", "suggested": true }, "date done": { "description": "photo of the tool, if available", "type": "wiki-file-name", "default": "File:NF no photo.png", "autovalue": "File:NF no..."
 
No edit summary
Line 8: Line 8:
"params": {
"params": {
"maintenance task": {
"maintenance task": {
"description": "links to related tool or jig pages",
"description": "what was done",
"label": "Related tools",
"label": "Related tools",
"type": "content",
"type": "content",
Line 14: Line 14:
},
},
"date done": {
"date done": {
"description": "photo of the tool, if available",
"description": "date it was done, blank if not yet done",
"type": "wiki-file-name",
"type": "wiki-file-name",
"default": "[[File:NF no photo.png]]",
"default": "[[File:NF no photo.png]]",
Line 21: Line 21:
},
},
"date next required": {
"date next required": {
"description": "link to the manual for the tool, ideally on the manufacturer's site",
"description": "date it next needs doing, blank if for past unscheduled maintenance",
"label": "Link to manual",
"label": "Link to manual",
"type": "url",
"type": "url",
Line 36: Line 36:
</templatedata>
</templatedata>
</noinclude><!--
</noinclude><!--
--><table class="infobox">
-->[[Template:Tool]] will need to display this content under a "maintenance" heading via query.<!--
<tr class="infobox-header">
<th colspan="2">[[Tool]]</th>
</tr>
<tr>
<td colspan="2" class="infobox-image">
[[File:{{{photo|NF no photo.png}}}|300px|noframe]]
</td>
</tr>
<th class="infobox-label">Model</th>
<td>{{{model|}}}</td>
</tr>
<tr>
<th class="infobox-label">Work envelope/max capacity</th>
<td>{{{work envelope|{{{max capacity|}}}}}}</td>
</tr>
<tr>
<th class="infobox-label">Link to manual</th>
<td>{{{link to manual|}}}</td>
</tr>
<tr>
<th class="infobox-label">Related tools</th>
<td>{{{related tools|}}}</td>
</tr>
<tr>
<th class="infobox-label">Trainer(s)</th>
<td>{{{trainers|}}}</td>
</tr>
<tr>
<th class="infobox-label">Training document(s)</th>
<td>{{{training docs|}}}</td>
</tr>
<tr>
<th class="infobox-label">SDS document</th>
<td>{{{SDS link|}}}</td>
</tr>
<tr>
<th class="infobox-label">Safe Work Procedure</th>
<td>{{{SWP link|}}}</td>
</tr>
<tr>
<th class="infobox-label">Consumables</th>
<td>{{{consumables|}}}</td>
</tr>
</table><!--
--><includeonly><!--
--><includeonly><!--
-->__NOCACHE__[[Category:Tool]]<!--
-->__NOCACHE__[[Category:Tool]]<!--
--></includeonly>
--></includeonly>

Revision as of 10:17, 2024 April 1

Usage

{{Maintenance log }}

and then "edit with form"

Parameters

This is the template for maintenance tasks. It is used on tool pages, facilitated by [[Form:Tool]].

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Related toolsmaintenance task

what was done

Contentsuggested
date donedate done

date it was done, blank if not yet done

Default
[[File:NF no photo.png]]
Auto value
[[File:NF no photo.png]]
Filesuggested
Link to manualdate next required

date it next needs doing, blank if for past unscheduled maintenance

URLsuggested

Template:Tool will need to display this content under a "maintenance" heading via query.