Difference between revisions of "Template:TODO"
From wiki
(Remove line returns to avoid that the template create empty paragraphs) |
(Remove template itself from TODO category) |
||
Line 18: | Line 18: | ||
} | } | ||
</templatedata> | </templatedata> | ||
− | + | <!-- Parameter nocategory is undocumented on purpose. It is only intended to be used here and by in actual template users. --> | |
== Example == | == Example == | ||
<nowiki>{{TODO|Find the Ultimate Question of Life, the Universe, and Everything}}</nowiki> | <nowiki>{{TODO|Find the Ultimate Question of Life, the Universe, and Everything}}</nowiki> | ||
− | {{TODO|Find the Ultimate Question of Life, the Universe, and Everything}} | + | {{TODO|Find the Ultimate Question of Life, the Universe, and Everything|nocategory=true}} |
<nowiki>{{TODO}}</nowiki> | <nowiki>{{TODO}}</nowiki> | ||
− | {{TODO}} | + | {{TODO|nocategory=true}} |
− | </noinclude><includeonly><div style="background-color: #fff0f0; border: 1px dashed blue; margin: 0.0em; padding: 0.2em 0.5em; display: table">'''TODO'''{{#if: {{{msg|{{{1|}}}}}}|<nowiki>:</nowiki> {{{msg|{{{1|}}}}}}}}</div>[[Category:TODO]]</includeonly> | + | </noinclude><includeonly><div style="background-color: #fff0f0; border: 1px dashed blue; margin: 0.0em; padding: 0.2em 0.5em; display: table">'''TODO'''{{#if: {{{msg|{{{1|}}}}}}|<nowiki>:</nowiki> {{{msg|{{{1|}}}}}}}}</div>{{#ifeq: {{{nocategory|}}} | true | | [[Category:TODO]] }}</includeonly> |
Revision as of 21:51, 5 March 2016
Description
Show a TODO
Parameter | Description | Type | Status | |
---|---|---|---|---|
Message | msg 1 | Message to be displayed
| Content | suggested |
Example
{{TODO|Find the Ultimate Question of Life, the Universe, and Everything}}
TODO: Find the Ultimate Question of Life, the Universe, and Everything
{{TODO}}
TODO