Open main menu

Changes

1,681 bytes added ,  12:16, 23 April 2015
Created page with "16px|frameless<noinclude> == Intent == Using this template is a shortcut to inserting a "notepad" icon next to an item in a list to mark it as something to..."
[[Image:Gedit.svg|16px|frameless]]<noinclude>
== Intent ==
Using this template is a shortcut to inserting a "notepad" icon next to an item in a list to mark it as something to do -- yet it's something that is NOT as defined as an action item (See the [[Template:AI]] template.
== Usage ==
just insert the template tag like so
<pre>
* wake up
* {{@todo}} explore the universe
</pre>
wherever you want the "notepad" to appear. Note that the template macro should be placed ''after'' the list item marker

== Your Todo List ==
You can see what pages include the template by using the [[Special:WhatLinksHere|WhatLinksHere]] Special Page.

By using the '<code>fullurl</code>' magic word<ref>[[mw:Help:Magic_words]]</ref>, and piping the querystring to it, you can generate exactly the report you desire: [{{fullurl:Special:WhatLinksHere|target=Template:@todo&namespace=1}} What pages in the Talk (#1) namespace link to the @todo template?]

You can also use a special "subpage" syntax, in conjunction with SpecialPages that support it, to pass an argument to the SpecialPage [[Special:WhatLinksHere/Template:@todo]]

'''The best way''' to report on this template is to use the Dynamic Page List extension. This way you can generate a custom report:
<pre>
{{#dpl:
|uses = Template:@todo
|mode = ordered
|ordermethod=lastedit
|addeditdate=true
|resultsheader=Things to do
|noresultsheader = Nothing on your todo list! Hooray!
}}
</pre>
Generates...
{{#dpl:
|uses = Template:@todo
|mode = ordered
|ordermethod=lastedit
|addeditdate=true
|resultsheader=Things to do
|noresultsheader = Nothing on your todo list! Hooray!
}}

{{References}}
</noinclude>


[[Category:Project_templates]]
4,558

edits