Template:Tododiv/doc

From Songs of Syx Wiki
Revision as of 09:49, 28 November 2021 by Zippy (talk | contribs) (Created page with "{{documentation |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 <code><nowiki>{{bubblesmall}}</nowiki></code> template in conjunction with ''this'' template. This template should also be used if a <code><nowiki>{{construction}}</nowiki></code> template is used in a page. The width of this template can optionally be customized, whic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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.