Open main menu

Template:@todo

Revision as of 13:36, 16 March 2016 by Freephile (talk | contribs) (Adds word 'todo' for searching in long documents)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Gedit.svg todo

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

* wake up
* {{@todo}} explore the universe

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 WhatLinksHere Special Page.

By using the 'fullurl' magic word[1], and piping the querystring to it, you can generate exactly the report you desire: 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:

{{#dpl:
|uses = Template:@todo
|mode = ordered
|ordermethod=lastedit
|addeditdate=true
|resultsheader=Things to do
|noresultsheader = Nothing on your todo list!  Hooray!
}}

Generates... {{#dpl: |uses = Template:@todo |mode = ordered |ordermethod=lastedit |addeditdate=true |resultsheader=Things to do |noresultsheader = Nothing on your todo list! Hooray! }}

References