Template:Todo: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
"params": {
"params": {
"1": {
"1": {
"label": "Generic",
"label": "Message",
"description": "Displays ''This section is a work in progress'' instead of a specific message.",
"description": "The todo message you want to display. If set to ''generic'', the message ''This section is a work in progress'' is displayed instead of a specific message.",
    "suggestedvalues": [
"generic"
        ],
"example": "Document capacitor widths.",
"type": "string",
"type": "string",
"aliases": [ "generic" ],
"required": false
"required": false
},
},
"reader_help": {
"reader_help": {
"label": "Ask for reader help",
"label": "Ask for reader help",
"description": "Displays ''This section is incomplete; you can contribute by adding missing information'' instead of ''This section is a work in progress.''",
"description": "Displays ''This section is incomplete; you can contribute by adding missing information'' instead of ''This section is a work in progress'' when ''message'' is set to ''generic''.",
"suggestedvalues": [
"suggestedvalues": [
      "true",
"true",
              "yes",
"yes",
      "y"
"y"
        ],
        ],
"type": "string",
"type": "string",

Revision as of 06:23, 17 February 2022

custom TODO

Create a note box to indicate that a section is a work in progress with an optional message

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Message1

The todo message you want to display. If set to ''generic'', the message ''This section is a work in progress'' is displayed instead of a specific message.

Suggested values
generic
Example
Document capacitor widths.
Stringoptional
Ask for reader helpreader_help

Displays ''This section is incomplete; you can contribute by adding missing information'' instead of ''This section is a work in progress'' when ''message'' is set to ''generic''.

Suggested values
true yes y
Stringoptional