Permanently protected template

Template:WPBannerMeta/hooks/todolist

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]


This hook enables a project to-do list or other similar list to be easily integrated into a project banner. It should be attached to the |HOOK_BOTTOM= hook.

There are two main parameters, |TODO_LINK= and |TODO_TEXT=. Only one should be used at any time. If the todo list is located on a different page then TODO_LINK should be used. However, if you've just got some text to include then you can use the TODO_TEXT option instead.

If you are using TODO_LINK and don't want to see the edit links at the top of the textbox, set TODO_EDITLINKS=no.

Example
{{WPBannerMeta
|PROJECT          = Tulips
 |small  = {{{small|}}}
 |category={{{category|¬}}}
 |listas = {{{listas|}}}
|NAME             = The Tulip taskforce
|IMAGE_LEFT       = Tulipa suaveolens floriade to Canberra.jpg
|HOOK_BOTTOM      = {{WPBannerMeta/hooks/todolist
  |TODO_TITLE = WikiProject Tulips To-do
  |TODO_LINK  = Template:Todo/to do
 }}
}}
Produces:
WikiProject Tulips
WikiProject iconThis page is within the scope of WikiProject Tulips, a collaborative effort to improve the coverage of pages on Wikibooks. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 
Example
{{WPBannerMeta
|PROJECT          = Tulips
 |small  = {{{small|}}}
 |category={{{category|¬}}}
 |listas = {{{listas|}}}
|NAME             = The Tulip taskforce
|IMAGE_LEFT       = Tulipa suaveolens floriade to Canberra.jpg
|HOOK_BOTTOM      = {{WPBannerMeta/hooks/todolist
  |TODO_TITLE = Suggested page editing guidelines
  |TODO_TEXT  = <div>
[[File:WP1 0 Icon.svg|right|50px]]
* To help us prioritize our workload, ...
* After assessing this page's quality, please make sure to ...
<div>
 }}
}}
Produces:
WikiProject Tulips
WikiProject iconThis page is within the scope of WikiProject Tulips, a collaborative effort to improve the coverage of pages on Wikibooks. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.