Difference between revisions of "Template:ToDo"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 1: Line 1:
−
<div>''ToDo{{#if:{{{1|}}}|&#58; {{{1}}}|}}''</div><noinclude>{{doc2}}</noinclude>
+
<div>''ToDo''#if:{{{hide|}}}|<span style="display:none;">{{{1}}}</span>|''&#58; {{{1}}}''}}</div><noinclude>{{doc2}}</noinclude>

Revision as of 13:54, 2 December 2018

ToDo#if:|{{{1}}}|: {{{1}}}}}

[edit] Documentation

Simple template so we can track down stuff that needs doing.
Has two optional parameters: hide and span.

Examples

{{ToDo|Some note here to remind us to do this thing.}}

Gives:
ToDo#if:|Some note here to remind us to do this thing.|: Some note here to remind us to do this thing.}}

With the span param set:
{{ToDo|span=1|Some note here to remind us to do this thing.}}

Gives:
ToDo#if:|Some note here to remind us to do this thing.|: Some note here to remind us to do this thing.}}

With the hide param set to true:
{{ToDo|hide=1|Some note here to remind us to do this thing.}}

Gives:
ToDo#if:1|Some note here to remind us to do this thing.|: Some note here to remind us to do this thing.}}