Template:Todo: Difference between revisions

From Caps Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{WarnAlt|note|med|This section is {{#switch: {{{1}}} | reader_help = incomplete; you can contribute by [{{fullurl:{{FULLPAGENAME}}|action=edit}} adding missing information]. | a work in progress.}}}}<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=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": "Generic",
"description": "Displays ''This section is a work in progress'' instead of a specific message.",
"type": "string",
"aliases": [ "generic" ],
"required": false
},
"reader_help": {
"label": "Ask for reader help",
"label": "Ask for reader help",
"description": "Displays ''This section is incomplete; you can contribute by adding missing entries'' instead of ''This section is a work in progress.''",
"description": "Displays ''This section is incomplete; you can contribute by adding missing entries'' instead of ''This section is a work in progress.''",
            "suggestedvalues": [
      "reader_help"
        ],
"type": "string",
"type": "string",
"default": "caution",
"default": "caution",
Line 13: Line 17:
}
}
},
},
"description": "Create a note box to indicate that a section is a work in progress"
"description": "Create a note box to indicate that a section is a work in progress with an optional message"
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 05:50, 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
Generic1 generic

Displays ''This section is a work in progress'' instead of a specific message.

Stringoptional
Ask for reader helpreader_help

Displays ''This section is incomplete; you can contribute by adding missing entries'' instead of ''This section is a work in progress.''

Default
caution
Stringoptional