Template:Section sizes/sandbox
This is the template sandbox page for Template:Section sizes (diff). See also the companion subpage for test cases. |
This template is used on approximately 2,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
To be used on the talk pages of very long articles, or in discussion of other articles where it is desired to show the sizes of subsections. The largest byte count and cumulative section total are coloured in red; the larger a section is, the redder it's shaded.
Usage[edit]
Use:
{{Section sizes}}
or include the name of a page as the first (and only) parameter, as one of:
{{Section sizes|1919 New Year Honours}}
{{Section sizes|1=1919 New Year Honours}}
or include a CSS style string:
{{Section sizes|1919 New Year Honours|style=float:right; margin-left:.5em}}
Example[edit]
{{Section sizes|1919 New Year Honours}}
renders as: