More actions
Ttenbergen (talk | contribs) Created page with "<noinclude>== Usage == <nowiki>{{</nowiki>{{PAGENAME}} <nowiki>}}</nowiki> and then "edit with form" ==Parameters== <templatedata> { "params": { "problem": { "description": "what is broken", "type": "content", "required": true }, "severity": { "description": "what is broken", "type": "content", "suggested": true, "required": true }, "datetime reported": { "description": "date break was reported", "type": "date", "default": "F..." |
Ttenbergen (talk | contribs) No edit summary |
||
(8 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 7: | Line 7: | ||
{ | { | ||
"params": { | "params": { | ||
"tool": { | |||
"description": "which tool is broken", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"problem": { | "problem": { | ||
"description": "what is broken", | "description": "what is broken", | ||
Line 13: | Line 18: | ||
}, | }, | ||
"severity": { | "severity": { | ||
"description": " | "description": "status of tool ", | ||
"type": "content", | "type": "content", | ||
"suggestedvalues": ["locked out", "limping", "preventative"], | |||
"suggested": true, | "suggested": true, | ||
"required": true | "required": true | ||
Line 21: | Line 27: | ||
"description": "date break was reported", | "description": "date break was reported", | ||
"type": "date", | "type": "date", | ||
"default": " | "default": "{{CURRENTTIMESTAMP}}", | ||
"autovalue": " | "autovalue": "{{CURRENTTIMESTAMP}}", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 38: | Line 44: | ||
"description": "This is the template for broken tools. It is used on tool pages, facilitated by [[Form:Tool]]. ", | "description": "This is the template for broken tools. It is used on tool pages, facilitated by [[Form:Tool]]. ", | ||
"paramOrder": [ | "paramOrder": [ | ||
"tool", | |||
"problem", | "problem", | ||
"severity", | "severity", | ||
Line 46: | Line 53: | ||
} | } | ||
</templatedata> | </templatedata> | ||
==Cargo Declaration== | |||
{{#cargo_declare: | |||
_table=broken | |||
|tool = page | |||
|problem = wikitext string | |||
|severity = wikitext string (allowed values=locked out, limping, preventative) | |||
|datetime_reported = date | |||
|datetime_fix_expected = date | |||
|datetime_fixed = date | |||
}} | |||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly><!-- | --><includeonly><!-- | ||
-->__NOCACHE__ | -->__NOCACHE__<!-- | ||
-->{{#cargo_store:}}<!-- | |||
--></includeonly> | --></includeonly> |
Latest revision as of 20:24, 2024 April 28
Usage
{{Broken}}
and then "edit with form"
Parameters
This is the template for broken tools. It is used on tool pages, facilitated by [[Form:Tool]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
tool | tool | which tool is broken | Page name | required |
problem | problem | what is broken | Content | required |
severity | severity | status of tool
| Content | required |
datetime reported | datetime reported | date break was reported
| Date | suggested |
datetime fix expected | datetime fix expected | date problem is expected to be fixed, likely blank, useful when parts are ordered or similar | Date | suggested |
datetime fixed | datetime fixed | date problem was fixed | Date | suggested |
Cargo Declaration
This template defines the table "broken". View table.