Template:Maintenance log: Difference between revisions

Ttenbergen (talk | contribs)
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..."
 
Ttenbergen (talk | contribs)
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>