Template:Tododiv/doc

From Songs of Syx Wiki
Jump to navigation Jump to search
Template Documentation

Description

This template adds an aesthetically pleasing list to the top of a page. The list should contain a to-do list of what a page needs to be truly complete. The entries of a list should use the {{bubblesmall}} template in conjunction with this template. This template should also be used if a {{construction}} template is used in a page. The width of this template can optionally be customized (which will leave the template with 100% width if the value isn't set), which can be in the format of pixels or a percentage.

Note: Using the {{bubblesmall}} template may affect this template's width sizes.

Syntax

By default: {{tododiv|TEXT|WIDTH}}
Preferred: {{tododiv|{{bubblesmall|TEXT}} {{bubblesmall|MORE_TEXT}} {{bubblesmall|EVEN_MORE_TEXT}}|WIDTH}}

Examples

Typing {{tododiv|400px|Text1 Text2 Text3 Text4}} produces the following:

This page should contain the following:
Text1 Text2 Text3 Text4

But because this template is meant to be used with the {{bubblesmall}} template, the last example should be typed like this:
{{tododiv|{{bubblesmall|Text1}} {{bubblesmall|Text2}} {{bubblesmall|Text3}} {{bubblesmall|Text4}}|400px}} which produces the following:

This page should contain the following:
Text1 Text2 Text3 Text4

Note: The width of the second example has become smaller, so a higher width amount may be needed to compensate.