Difference between revisions of "Template:Todo"

From apm
Jump to: navigation, search
m (trying whether onlyinclude produces no additional enter+space like noinclude seems to do)
(added usage and categorization (functionality & info))
Line 1: Line 1:
<onlyinclude><span style="background:#AAAAFF">('''Todo:''' {{{1}}})</span></onlyinclude>
+
<onlyinclude><span style="background:#AAAAFF">('''Todo:''' {{{1}}})</span><includeonly>[[Category:ContainsTodos]]</includeonly></onlyinclude>
{{{2=no details given}}}
+
----
 +
== Usage: ==
 +
Add this template into flowing text or as bullet point on pages wherever you see that further work is needed that cant be done on the spot.currently cant be done
 +
 
 +
<nowiki>{{todo|[short note that makes sense in the context of the usage of this template]|[optional detailed description (hidden)]}}</nowiki>
 +
 
 +
== Categorization ==
 +
 
 +
All pages that contain this template at least once will autmatically added to the category [[:Caegory:ContainsTodos]].
 +
 
 +
<nowiki>{{todo|find a more fine grained method|Find a more fine grained method to make an auto-created page that collects all usages of the todo template and lists this usages sorted by the second parameter.}}</nowiki>
 +
<nowiki>{{todo|check how recursive template calls behave}}</nowiki>
 +
 
 +
=== The second parameter ===
 +
{{{2=no details given}}} <br>
 +
It is hidden and intended to use for sorting only.
 +
 
 +
== Testing this template ==
 +
 +
[[Special:ExpandTemplates]]

Revision as of 06:57, 30 September 2015

(Todo: {{{1}}})


Usage:

Add this template into flowing text or as bullet point on pages wherever you see that further work is needed that cant be done on the spot.currently cant be done

{{todo|[short note that makes sense in the context of the usage of this template]|[optional detailed description (hidden)]}}

Categorization

All pages that contain this template at least once will autmatically added to the category Caegory:ContainsTodos.

{{todo|find a more fine grained method|Find a more fine grained method to make an auto-created page that collects all usages of the todo template and lists this usages sorted by the second parameter.}}
{{todo|check how recursive template calls behave}}

The second parameter

{{{2=no details given}}}
It is hidden and intended to use for sorting only.

Testing this template

Special:ExpandTemplates