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

Template:Broken: Difference between revisions

Template page
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..."
 
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": "what is broken",
"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": "[[File:NF no photo.png]]",
"default": "{{CURRENTTIMESTAMP}}",
"autovalue": "[[File:NF no photo.png]]",
"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><!--
-->[[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 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]].

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
tooltool

which tool is broken

Page namerequired
problemproblem

what is broken

Contentrequired
severityseverity

status of tool

Suggested values
locked out limping preventative
Contentrequired
datetime reporteddatetime reported

date break was reported

Default
{{CURRENTTIMESTAMP}}
Auto value
{{CURRENTTIMESTAMP}}
Datesuggested
datetime fix expecteddatetime fix expected

date problem is expected to be fixed, likely blank, useful when parts are ordered or similar

Datesuggested
datetime fixeddatetime fixed

date problem was fixed

Datesuggested

Cargo Declaration

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