Template:Todo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{WarnAlt|custom|med|{{#switch: {{{1}}} | generic=This section is {{#switch: {{{reader_help}}} | true|yes|y = incomplete; you can contribute by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding missing information]. | a work in progress.}} | {{{1|}}} }} |custom_label={{#switch: {{{1}}} | generic= | TODO}}|custom_icon={{#switch: {{{1}}} | generic=OOjs UI icon information-progressive.svg | OOjs UI icon clock-progressive.svg}}}}<noinclude><templatedata> | {{WarnAlt|custom|med|{{#switch: {{{1}}} | generic=This section is {{#switch: {{{reader_help}}} | true|yes|y = incomplete; you can contribute by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding missing information]. | a work in progress.}} | {{{1|}}} }} |custom_label={{#switch: {{{1}}} | generic= | '''TODO'''}}|custom_icon={{#switch: {{{1}}} | generic=OOjs UI icon information-progressive.svg | OOjs UI icon clock-progressive.svg}}}}<noinclude><templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": " | "label": "Message", | ||
"description": " | "description": "The todo message you want to display. If set to ''generic'', the sentence ''This section is a work in progress'' is displayed instead of a specific message.", | ||
"suggestedvalues": [ | |||
"generic" | |||
], | |||
"example": "Document capacitor widths.", | |||
"type": "string", | "type": "string", | ||
"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", | |||
"yes", | |||
"y" | |||
], | ], | ||
"example": "yes", | |||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
} | } |
Latest revision as of 21:16, 17 February 2022
TODO |
Create a note box to indicate that a section is a work in progress with an optional message
Parameter | Description | Type | Status | |
---|---|---|---|---|
Message | 1 | The todo message you want to display. If set to ''generic'', the sentence ''This section is a work in progress'' is displayed instead of a specific message.
| String | optional |
Ask for reader help | reader_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''.
| String | optional |