Template:@todo

From Freephile Wiki
Revision as of 16:15, 30 April 2015 by Freephile (talk | contribs) (link to user's todo page)

Jump to navigation Jump to search

Gedit.svg

Intent[edit source]

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[edit source]

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[edit source]

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[edit source]