Difference between revisions of "Template:ToDo/doc"

From WikiCorporates
Jump to navigation Jump to search
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
<< [[Template:ToDo]]
 
  
−
Simple template so I can track down stuff that needs doing.
+
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>.
  
−
==== Example ====
+
==== Examples ====
−
{{ToDo|Some note here to remind me to do this thing.}}
+
<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.}}
  
−
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
+
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/>
 +
<tt><nowiki>{{ToDo|hide=1|Some note here to remind us to do this thing.}}</nowiki></tt><br/>
 +
Gives: {{ToDo|hide=1|Some note here to remind us to do this thing.}}
 +
 
 +
<includeonly>[[Category:WikiCorporates templates]]</includeonly>

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.