Template:Todo: Difference between revisions

From Playful Exploration
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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|Todo(default),Issue or Task|Owner}}</pre>
Valid examples:
<pre>{{Todo|This section needs more detail.|Todo|User:Peter}}
{{Todo|This section needs more detail.}}
{{Todo|Should this be moved?|Issue}}
</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 13:
{{#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|Title missing}}}|Todo Kind={{{2|Todo}}}|Todo Owner={{{3|-}}}}}{{{2|Todo}}}: {{{1|Title missing}}} ({{{3|-}}})</includeonly>
</noinclude><includeonly>{{#subobject:|Todo Title={{{1|Title missing}}}|Todo Kind={{{2|Todo}}}|Todo Owner={{{3|-}}}}}{{{2|Todo}}}: {{{1|Title missing}}} ({{{3|-}}})</includeonly>

Revision as of 02:53, 17 May 2016

Usage

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

{{Todo|Title|Todo(default),Issue or Task|Owner}}

Valid examples:

{{Todo|This section needs more detail.|Todo|User:Peter}}
{{Todo|This section needs more detail.}}
{{Todo|Should this be moved?|Issue}}

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
}}