Template:Todo: Difference between revisions

From Playful Exploration
Jump to navigation Jump to search
(Created page with "<noinclude> == Usage == To add a Todo item to any wiki page use the following in the wiki markup: <pre>{{Todo|Title|Todo(default),Issue or Task|Owner}}</pre> To list all Todo...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
== Usage ==
== Usage ==
To add a Todo item to any wiki page use the following in the wiki markup:
To add a Todo item to any wiki page use the following in the wiki markup:
<pre>{{Todo|Title|Todo(default),Issue or Task|Owner}}</pre>
<pre>{{Todo|Title|Owner}}</pre>
Valid examples:
<pre>{{Todo|This section needs more detail.|User:Peter}}
{{Todo|This section needs more detail.}}
</pre>


To list all Todo items of all sub pages use this wiki markup:
To list all Todo items of all sub pages use this wiki markup:
Line 8: Line 12:
{{#ask:
{{#ask:
[[-Has subobject::~{{FULLPAGENAME}}/*]]
[[-Has subobject::~{{FULLPAGENAME}}/*]]
|?Todo Title
|?Todo Title=Title
|?Todo Kind
|?Todo Kind=Kind
|?Todo Owner
|?Todo Owner=Owner
}}
}}
</pre>
</pre>
</noinclude><includeonly>{{#subobject:|Todo Title={{{1}}}|Todo Kind={{{2}}}|Todo Owner={{{3}}}}}</includeonly>
== Related Template(s) ==
[[Template:Issue]]
</noinclude><includeonly>{{#subobject:|Todo Title={{{1|Title missing}}}|Todo Kind=Todo|Todo Owner={{{2|-}}}}}Todo: {{{1|Title missing}}} ({{{2|-}}})</includeonly>

Latest revision as of 03:14, 17 May 2016

Usage

To add a Todo item to any wiki page use the following in the wiki markup:

{{Todo|Title|Owner}}

Valid examples:

{{Todo|This section needs more detail.|User:Peter}}
{{Todo|This section needs more detail.}}

To list all Todo items of all sub pages use this wiki markup:

{{#ask:
[[-Has subobject::~{{FULLPAGENAME}}/*]]
|?Todo Title=Title
|?Todo Kind=Kind
|?Todo Owner=Owner
}}

Related Template(s)

Template:Issue