Difference between revisions of "Template:ToDo/doc"

From WikiCorporates
Jump to navigation Jump to search
 
Line 1: Line 1:
  
 
Simple template so we can track down stuff that needs doing.<br/>
 
Simple template so we can track down stuff that needs doing.<br/>
−
Has an optional "hide" parameter, which renders the note section invisible.
+
Has two optional parameters: <tt>hide</tt> and <tt>span</tt>.
  
 
==== Examples ====
 
==== Examples ====
 
<tt><nowiki>{{ToDo|Some note here to remind us to do this thing.}}</nowiki></tt><br/>
 
<tt><nowiki>{{ToDo|Some note here to remind us to do this thing.}}</nowiki></tt><br/>
 
Gives: {{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:<br/>
 +
<tt><nowiki>{{ToDo|span=1|Some note here to remind us to do this thing.}}</nowiki></tt><br/>
 +
Gives: {{ToDo|span=1|Some note here to remind us to do this thing.}}
  
 
With the hide param set to true:<br/>
 
With the hide param set to true:<br/>

Latest revision as of 13:08, 22 September 2020

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.