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
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>== Usage ==
<noinclude>== Usage ==
  <nowiki>{{</nowiki>{{PAGENAME}} <nowiki>}}</nowiki>
  <nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>
and then "edit with form"
and then "edit with form"


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",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
},
},
"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": "date",
"default": "[[File:NF no photo.png]]",
"default": "[[File:NF no photo.png]]",
"autovalue": "[[File:NF no photo.png]]",
"autovalue": "[[File:NF no photo.png]]",
Line 21: Line 20:
},
},
"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",
"type": "date",
"type": "url",
"suggested": true
"suggested": true
}
}
Line 35: Line 33:
}
}
</templatedata>
</templatedata>
==Cargo Declaration==
{{#cargo_declare:
_table=maintenance
|maintenance_task= wikitext string
|date_done= date
|date_next_required = date
}}
</noinclude><!--
</noinclude><!--
--><table class="infobox">
<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__<!--
-->{{#cargo_store:}}<!--
--></includeonly>
--></includeonly>

Latest revision as of 22:58, 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
maintenance taskmaintenance 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]]
Datesuggested
date next requireddate next required

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

Datesuggested

Cargo Declaration

This template defines the table "maintenance". View table.