Template:WPBannerMeta/hooks/todolist
|
Syntax |
---|
{{WPBannerMeta |PROJECT = |BANNER_NAME = {{subst:FULLPAGENAME}} |small={{{small|}}} |category={{{category|¬}}} |listas = {{{listas|}}} ... |HOOK_BOTTOM = <!-- -->{{WPBannerMeta/hooks/todolist |TODO_TITLE = Title of To do list |TODO_LINK = Location of todo list |TODO_TEXT = Text to show |TODO_STYLE = additional CSS style params |TODO_EDITLINKS = (set to no to hide edit links) }} ... }} |
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 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- 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 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|