Template:AutoEdit dropdown: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 11: Line 11:
{
{
"params": {
"params": {
"currentState": {},
"currentState": {
"label": "Text for button (defaults for current value)",
"states": {}
"type": "string"
}
},
"states": {
"label": "The optional values seperated with semicolons",
"example": "Done; Working on this; Stuck",
"type": "string",
"required": true,
"suggested": true
},
"form": {
"label": "The form to use",
"type": "string",
"required": true,
"suggested": true
},
"template": {
"label": "The template",
"type": "wiki-template-name",
"suggested": true
},
"field": {
"label": "The field to change",
"type": "string",
"required": true,
"suggested": true
}
},
"paramOrder": [
"states",
"form",
"template",
"field",
"currentState"
]
}
}
</templatedata>
</templatedata>

Revision as of 18:42, 21 August 2022




No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
The optional values seperated with semicolonsstates

no description

Example
Done; Working on this; Stuck
Stringrequired
The form to useform

no description

Stringrequired
The templatetemplate

no description

Templatesuggested
The field to changefield

no description

Stringrequired
Text for button (defaults for current value)currentState

no description

Stringoptional