Template:WPBannerMeta/hooks/todolist/doc
< Template:WPBannerMeta | hooks/todolist
Jump to navigation
Jump to search
Revision as of 10:42, 23 February 2021 by Wikipedia>WOSlinker (mw-collapsible)
This is a documentation subpage for Template:WPBannerMeta/hooks/todolist. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 1,230,000+ pages, or roughly 3057% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Syntax |
---|
{{WPBannerMeta |PROJECT = |BANNER_NAME = {{subst:FULLPAGENAME}} |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_TITLE_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.
Styling can be adjusted using the TODO_STYLE
& TODO_TITLE_STYLE
parameters.
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 |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:To do/to do }} }} |
- Produces:
WikiProject Tulips | ||||||||||||
|
{{#assessment:Tulips||}}
- Example
{{WPBannerMeta |PROJECT = Tulips |category={{{category|}}} |listas = {{{listas|}}} |NAME = The Tulip taskforce |IMAGE_LEFT = Tulipa suaveolens floriade to Canberra.jpg |HOOK_BOTTOM = {{WPBannerMeta/hooks/todolist |TODO_TITLE = Suggested article edit guidelines |TODO_TEXT = <div> [[File:WP1 0 Icon.svg|right|50px]] * To help us prioritise our workload, and in readiness for [[Wikipedia:1.0]], ... * After assessing this article's quality, please make sure it to ... </div> }} }} |
- Produces:
WikiProject Tulips | ||||||||||||
|
{{#assessment:Tulips||}}
- Example (currently in development in sandbox version)
{{WPBannerMeta |PROJECT = Tulips |category={{{category|}}} |listas = {{{listas|}}} |NAME = The Tulip taskforce |IMAGE_LEFT = Tulipa suaveolens floriade to Canberra.jpg |HOOK_BOTTOM = {{WPBannerMeta/hooks/todolist/sandbox |TODO_TITLE = WikiProject Tulips To-do }} }} |
- Produces:
WikiProject Tulips | |||||||
Template:WPBannerMeta/hooks/todolist/sandbox
|
{{#assessment:Tulips||}}