Template:TODO: Difference between revisions

From wiki
Created page with "<noinclude> == Description == <templatedata> { "description": "Show a TODO", "params": { "msg": { "aliases": [ "1" ], "label": "Message", "type": "content"..."
 
Remove line returns to avoid that the template create empty paragraphs
Line 27: Line 27:
{{TODO}}
{{TODO}}


</noinclude>
</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>
<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>

Revision as of 19:16, 3 January 2016

Description

Show a TODO

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Messagemsg 1

Message to be displayed

Example
Find the Ultimate Question of Life, the Universe, and Everything
Contentsuggested

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