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
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
{{Section sizes|1919 New Year Honours}}
|
Section size for 1919 New Year Honours (70 sections)
Section name |
Byte count |
Section total
|
(Top) |
1,751 |
1,751
|
United Kingdom and British Empire |
41 |
41
|
Baronetcies |
487 |
487
|
Knight Bachelor |
2,982 |
2,982
|
The Most Honourable Order of the Bath |
148 |
43,780
|
Knight Grand Cross of the Order of the Bath (GCB) |
58 |
986
|
Military Division |
785 |
785
|
Civil Division |
143 |
143
|
Knight Commander of the Order of the Bath (KCB) |
56 |
5,366
|
Military Division |
3,420 |
3,420
|
Civil Division |
1,890 |
1,890
|
Companion of the Order of the Bath (CB) |
48 |
37,280
|
Military Division |
31,968 |
31,968
|
Civil Division |
5,264 |
5,264
|
The Most Exalted Order of the Star of India |
160 |
751
|
Knight Commander (KCSI) |
169 |
169
|
Companion (CSI) |
422 |
422
|
The Most Distinguished Order of Saint Michael and Saint George |
152 |
39,994
|
Knight Grand Cross of the Order of St Michael and St George (GCMG) |
620 |
620
|
Knight Commander of the Order of St Michael and St George (KCMG) |
3,544 |
3,544
|
Companion of the Order of St Michael and St George (CMG) |
35,678 |
35,678
|
The Most Eminent Order of the Indian Empire |
188 |
4,987
|
Knight Grand Commander (GCIE) |
423 |
423
|
Knight Commander (KCIE) |
742 |
742
|
Companion (CIE) |
3,634 |
3,634
|
The Royal Victorian Order |
136 |
1,663
|
Knight Grand Cross of the Royal Victorian Order (GCVO) |
422 |
422
|
Knight Commander of the Royal Victorian Order (KCVO) |
250 |
250
|
Commander of the Royal Victorian Order (CVO) |
352 |
352
|
Member of the Royal Victorian Order, 4th class (MVO) |
503 |
503
|
The Most Excellent Order of the British Empire |
212 |
40,710
|
Dame Grand Cross of the Order of the British Empire (GBE) |
66 |
1,274
|
Military Division |
146 |
146
|
Civil Division |
1,062 |
1,062
|
Knight Grand Cross of the Order of the British Empire (GBE) |
68 |
1,299
|
Military Division |
128 |
128
|
Civil Division |
1,103 |
1,103
|
Dame Commander of the Order of the British Empire (DBE) |
64 |
702
|
Military Division |
174 |
174
|
Civil Division |
464 |
464
|
Knight Commander of the Order of the British Empire (KBE) |
66 |
7,620
|
Military Division |
1,172 |
1,172
|
Civil Division |
6,382 |
6,382
|
Commander of the Order of the British Empire (CBE) |
60 |
29,414
|
Military Division |
12,545 |
12,545
|
Civil Division |
16,809 |
16,809
|
Officer of the Order of the British Empire (OBE) |
95 |
95
|
Member of the Order of the British Empire (MBE) |
94 |
94
|
Royal Red Cross |
22 |
25,556
|
First Class (RRC) |
5,354 |
5,354
|
Second Class (ARRC) |
18,953 |
18,953
|
Awarded a Bar to the Royal Red Cross (RRC*) |
1,227 |
1,227
|
Kaisar-i-Hind Medal |
502 |
502
|
Medal of the Order of the British Empire |
171 |
517
|
Military Division |
346 |
346
|
Distinguished Service Order (DSO) |
40,518 |
43,175
|
Awarded a Bar to the Distinguished Service Order (DSO*) |
2,657 |
2,657
|
Military Cross (MC) |
92,803 |
97,938
|
Awarded a Bar to the Military Cross (MC*) |
4,822 |
4,822
|
Awarded a Second Bar to the Military Cross (MC**) |
313 |
313
|
Distinguished Flying Cross (DFC) |
4,848 |
5,153
|
Awarded a Bar to the Distinguished Flying Cross (DFC*) |
305 |
305
|
Distinguished Flying Medal (DFM) |
1,917 |
1,917
|
Air Force Cross (AFC) |
6,920 |
6,920
|
Air Force Medal (AFM) |
849 |
849
|
Distinguished Conduct Medal (DCM) |
78 |
78
|
Meritorious Service Medal (MSM) |
76 |
76
|
Military Medal (MM) |
83 |
83
|
King's Police Medal (KPM) |
7,676 |
7,676
|
References |
298 |
298
|
Total |
327,884 |
327,884
|
| |
Messaging
There are three fatal errors and one advisory message which may be reported by the template.
Fatal errors:
- error: no article: <article title> – emitted when the template cannot fetch the content of <article title>
- error: <article title> is a redirect – emitted when <article title> is a redirect
- error: no sections found in: <article title> – emitted when <article title> does not have any sections except the lede
Advisory message:
- markup removed; cannot link – this is emitted when a section header of the article contains invalid markup such as an embedded citation; in this case, the section header is emitted in plain text as it cannot be linked for technical reasons. The gory details follow.
The template attempts to correctly render and link section names. That is not always possible because of Html and wiki markup that should not be in the section name; see MOS:HEAD. The template attempts to render a readable, but unlinked section name with a message and link to this page when Html and wiki markup is found. For these cases, the page that transcludes this template will be added to a tracking category.
The template retains bold ('''
) and italic (''
) wiki markup and will leave any self-closed <nowiki />
tags. When templates are present, this template renders them and then removes any Html and Html-like markup. Wikilinks in the section name are replaced with their display text.
Categorization
When an unlinked section name is emitted in the table along with a "markup removed" error (see § Messaging) because of parsing issues in the section header, the page on which the template appears is tracked in Category:Pages with Template:Section sizes errors.
TemplateData
Template parameters[Edit template data]
Parameter | Description | Type | Status |
---|
1 | 1 | Override the name of the page to use - Default
- {{ARTICLEPAGENAME}}
- Example
- 1919 New Year Honours
| Page name | optional |
---|
style | style | CSS style - Example
- float:right; margin-left:.5em
| String | optional |
---|