Template:To do: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
TheOnlyZac (talk | contribs) (Attempt to fix category parameter) |
TheOnlyZac (talk | contribs) (Added namespace check for maintenance cat) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ |
{{ambox |
||
| image= [[File:Clue icon.png|32px]] |
|||
| title= To Do: |
|||
| text= {{{1}}} |
| text= '''To Do:'''<br/>{{{1}}} |
||
}}<includeonly>{{#ifeq: {{{nocat|}}} | y | | [[Category:To do]]}}</includeonly><noinclude> |
}}<includeonly>{{#ifeq: {{{nocat|}}} | y | | {{ns0|[[Category:To do]]}}}}</includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
<templatedata> |
|||
⚫ | |||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "to do", |
|||
"description": "What there is to do", |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"nocat": { |
|||
"description": "Set to 'y' to not add it to the maintenance category", |
|||
"example": "y" |
|||
} |
|||
}, |
|||
"description": "A maintenance template for noting things that need to be done in an article." |
|||
} |
|||
⚫ |
Latest revision as of 16:42, 2 August 2022
To Do: {{{1}}} |
Use this template to tag a page or section with something that needs to be done. It automatically adds the article to Category:To do.
Parameters
The template accepts the following optional parameters.
nocat=y
- Prevents adding the page to the to-do category.
Examples
{{todo|Add a screenshot}}
To Do: Add a screenshot |
{{todo|Expand this section with more examples}}
To Do: Expand this section with more examples |
See also
- {{Needs images}}
- {{Investigate}}
A maintenance template for noting things that need to be done in an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
to do | 1 | What there is to do | String | required |
nocat | nocat | Set to 'y' to not add it to the maintenance category
| Unknown | optional |