Template:Tododiv/doc: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
(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...")
 
No edit summary
 
Line 1: Line 1:
{{documentation
{{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, which can be in the format of pixels or a percentage.<br><br>
|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 (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.<br><br>
''Note: Using the ''<code><nowiki>{{bubblesmall}}</nowiki></code>'' template may affect '''this''' template's width sizes.''
''Note: Using the ''<code><nowiki>{{bubblesmall}}</nowiki></code>'' template may affect '''this''' template's width sizes.''
|By default: <code><nowiki>{{tododiv|TEXT|WIDTH}}</nowiki></code><br>
|By default: <code><nowiki>{{tododiv|TEXT|WIDTH}}</nowiki></code><br>

Latest revision as of 09:50, 28 November 2021

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.