Note: All the tables below (except the last one) have style=text-align:right
global style (at top of table wikitext). There is no header text alignment styling in individual header cells. See also: User:Timeshifter/Sandbox150 where there is no text alignment set for anything within the tables there.
Template:Static row numbers. To see the example tables scroll down. See User:Timeshifter/Sandbox145 for a long table for testing sorting speed. See Sandbox147 for multi-row headers at the top and bottom of a table.
This table uses this in the top line of the table wikitext, and just above:
((mw-datatable)) {|class="wikitable sortable mw-datatable" border=1 style="text-align:right; max-width:25em;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers))((mw-datatable)) {|class="wikitable sortable mw-datatable static-row-numbers" border=1 style="text-align:right; max-width:25em;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers))((mw-datatable)) {|class="sortable mw-datatable static-row-numbers" border=1 style="text-align:right; max-width:25em;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class="sortable static-row-numbers" border=1 style="text-align:right; max-width:25em;"
This table's only border formatting is border=1
border=1 is allowed in HTML5, and is fallback HTML for tables viewed in situations where table CSS is blocked, not used, not loading, etc..
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class=static-row-numbers border=1 style="text-align:right; max-width:25em;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class=static-row-numbers style="text-align:right; max-width:25em;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class="sortable static-row-numbers" style="text-align:right; max-width:25em;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class=static-row-numbers style="text-align:right; max-width:25em; border:solid 1px; border-collapse:collapse;"
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class=static-row-numbers style="text-align:right; max-width:25em; border:solid 1px; border-collapse:collapse;" border=1
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |
This table uses this in the top line of the table wikitext, and just above:
((static row numbers)) {|class=static-row-numbers style="max-width:25em; border:solid 1px; border-collapse:collapse;" border=1
Country, territory, subnational area | Rate per 100,000 | Prison Population | Notes |
---|---|---|---|
Afghanistan | 87 | 30,748 | |
Albania | 164 | 4,641 | |
Algeria | 153 | 65,000 | |
American Samoa (USA) | 345 | 193 |