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
No edit summary
No edit summary
 
(4 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 9: Line 9:
"maintenance task": {
"maintenance task": {
"description": "what was done",
"description": "what was done",
"label": "Related tools",
"type": "content",
"type": "content",
"suggested": true
"suggested": true
Line 15: Line 14:
"date done": {
"date done": {
"description": "date it was done, blank if not yet done",
"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 22: Line 21:
"date next required": {
"date next required": {
"description": "date it next needs doing, blank if for past unscheduled maintenance",
"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><!--
-->[[Template:Tool]] will need to display this content under a "maintenance" heading via query.<!--
--><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.