Difference between revisions of "Template:ToDo"

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

Latest revision as of 13:06, 22 September 2020

ToDo: {{{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: 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: 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 †Some note here to remind us to do this thing.