Template:Flag-TODO: Difference between revisions
From Claremont MakerSpace
No edit summary |
m (TemplateData: set format to inline) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Flag|flag=TODO|color=#CFC56B|reason={{{reason| }}}}}</includeonly> | <includeonly>{{Flag|flag=TODO|color=#CFC56B|reason={{{reason| }}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
A flag to mark a page as TODO and show a box: | <templatedata> | ||
{ | |||
"description": "A flag to mark a page as TODO and show a box", | |||
"format": "inline", | |||
"params": { | |||
"reason": { | |||
"label": "Reason", | |||
"description": "Why is this marked as TODO?", | |||
"type": "line" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
== Examples == | |||
<code><nowiki>{{Flag-TODO}}</nowiki></code> | |||
{{Flag-TODO}} | |||
<code><nowiki>{{Flag-TODO|reason=<for whatever reason>}}</nowiki></code> | |||
{{Flag-TODO|reason=<for whatever reason>}} | {{Flag-TODO|reason=<for whatever reason>}} | ||
</noinclude> | </noinclude> |
Latest revision as of 07:36, 25 June 2020
A flag to mark a page as TODO and show a box
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reason | reason | Why is this marked as TODO? | Line | optional |
Examples
{{Flag-TODO}}
This section has been marked as TODO.
{{Flag-TODO|reason=<for whatever reason>}}
This section has been marked as TODO.
<for whatever reason>