Template talk:To do

=Documentation=

Creates a yellow notice and enters the page into the TODO category.

Parameters:
 * #1 - the note text
 * todonote - the note text
 * example - values: yes, no; meaning: ?

See also

=Discussion=

Suggestion to upgrade the TODO-List
The following code allows to create specific todo-lists for user and/or for books. The optional parameters are used for names of the books and/or name of the user. 
 * for example
 * or
 * or


 * TODO:

This template is intended to serve a TODO list for projects and user. More information about the todo-list can be found on category:TODO.

It will be supplemented by following template
 * todolink
 * example
 * Todo-List for


 * resulting:
 * TODO-List for Username


 * TODO-List for


 * resulting:
 * TODO-List for my projects

category:TODO/
 * Code

These two templates (programmed by me) serve their purpose in the German Wikibooks. Greeting --Mjchael (talk) 00:15, 13 August 2009 (UTC)


 * It seems an improvement on what I was attempting to do as it seems to permit to list all the todos of a particular book.
 * But if I'm understanding correctly it also implies having a special category where all the books todos will be displayed ?
 * What are you proposing (if anything) ?
 * a) Dropping the existing template would require correcting all the already existing calls it has. I'm not offering to do that myself...
 * The two templates if paired will include changes/additions to the categories (the categories probably have to be tweaked, ask info about it to User:Adrignola he has been doing heavy restructuring to the categories it would be a crime to break his work in some way. Creating a todo subcategory inside the book's category would be ideal).
 * b) It could all be phased out, the case of your template is not the same (I don't know if there is one using that name) but over time it could all be moved to your implementation, and also permit to detect any issues, I think there are some other construct being used with the template probably source code highlights or even translations...
 * Anyway I don't have any objection to any of the solutions (if the action also includes fixing anything that is broken in the process). --Panic (talk) 01:58, 13 August 2009 (UTC)
 * This is the complete code of my template. This enables you to get everything out of it. The cathegorie "TODO" should be shown. But the rest can be hidden. On each new TODO-List should be affixed:

__HIDDENCAT__


 * The own user-todo-lists and the books-todo-lists can be found by the category "TODO" and on each page where the "todolink"-tamplate is placed. Thus no side will be garbaged with categories. But each book and any user would have an own todo-list. And these todo-lists administer themselves independently. There will be no reason to surch for any todo-list of a book or an user. Just use the template with the user-name (first letter upper-cased!) or the book-name, and any outer user will find them. Only with very long names of books you should think about a shortened title. compare: http://de.wikibooks.org/wiki/Kategorie:Todo --Mjchael (talk) 14:03, 13 August 2009 (UTC)
 * I'm adding the missing Parameters to each "TODO". Additionally I'll delete the unnessesary todonote-Parameter because it is equal to  . I guess that I need still a few hours. The existing records aren't further affected by the new programming. The added categories are subcategories of TODO. So it wouldn't break sb.'s preserves. User:Adrignola will be asked, whether something is to rethink. --Mjchael (talk) 17:39, 13 August 2009 (UTC)


 * I don't have a problem with subcategories of Category:TODO if you want to have them. I fixed the template code to have an if statement for the second parameter.  The pages using the template shouldn't be put into an unspecified category if they don't have a second parameter. -- Adrignola talk contribs 17:52, 13 August 2009 (UTC)