Template:Tododiv: Difference between revisions
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="tododiv" style=" | <div class="tododiv" style="width:{{{2}}};">'''This page should contain the following:'''<br>{{{1}}}</div><br><noinclude>{{Tododiv/doc}}[[Category:Templates]]</noinclude> |
Latest revision as of 09:52, 28 November 2021
{{{1}}}
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.
By default: {{tododiv|TEXT|WIDTH}}
Preferred: {{tododiv|{{bubblesmall|TEXT}} {{bubblesmall|MORE_TEXT}} {{bubblesmall|EVEN_MORE_TEXT}}|WIDTH}}
Typing {{tododiv|400px|Text1 Text2 Text3 Text4}}
produces 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:
Text1 Text2 Text3 Text4
Note: The width of the second example has become smaller, so a higher width amount may be needed to compensate.