Template:Todo3

From Wikipedia, the free encyclopedia

To-do list for Template:Todo3:

This is an alternate version of Template:Todo. You may add this to any page you like in order to keep track of a list of things that need to be done (in an article's talk page, or, for example, your user page).

Note that this template employs some extremely complicated and esoteric features of template syntax. Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.

Note: this template is currently under construction. Please report any bugs on the talk page.

[edit] Usage

{{Todo3
 | w = 
 | h = 
 | float = 
 | links = 
 | color = 
}}

[edit] Optional parameters

w
The preferred width of the note. You must include a suffix such as px, em, or %. If no width is given, the template will have the default talk page note size (80%).
h
The preferred height of the note. You must include a suffix such as px, em, or %. Setting this will add scroll bars to the included contents of this template where needed. Keep in mind that this doesn't work for all browsers (they must recognize the overflow CSS attribute). If no height is given, the template's height will depend on its contents.
float
Whether the template will float, and to which side. Possible values: none (default), left, right. Floating this template will cause it to appear on either the left or right side of the page it is included in, or right where the tag resides in the page, if none is used. If not given, the template will be centered like the default talk page notes. If a wrongful value is given, the template will display an error message.
links
The preferred location of the maintenance links. Possible values: top (default), bottom. This allows you to choose where the maintenance links (edit, history, watch, and purge) will show up. You might want to have them at the bottom of the template if you are using a small width, since this will help prevent the title of the template from being wrapped. If not given, the template's maintenance links will be on top. If a wrongful value is given, the template will display an error message.
color
The preferred color of the template. Possible values: yellow (default), emerald, lemon, indigo, cyan, violet, magenta, sepia, orange, red, white, grey, or any 6-digit hex code. If not given, the template will be yellow (the default color of the talk page notes).

[edit] Examples

To place this template with a width of 400 pixels, a height of 300 pixels, and on the right side of the page, with maintenance links at the bottom:

{{Todo3|w=400px|h=300px|float=right|links=bottom}}

... or with a percentage as width, on the left side of the screen, with maintenance links at the top, in a lemon green color:

{{Todo3|w=50%|h=300px|float=left|color=lemon}}

... or similar to other to-do templates, with the default talk page note specifications:

{{Todo3}}