Template:Bar chart/testcases
![]() | This is the template test cases page for the sandbox of Template:Bar chart. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
__EXPECTUNUSEDTEMPLATE__
Single data column
{{Bar chart}} | ||||||||||||||||
| ||||||||||||||||
{{Bar chart/sandbox}} | ||||||||||||||||
|
Two data columns
{{Bar chart}} | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
{{Bar chart/sandbox}} | ||||||||||||||||||||||||||||||
|
Two data columns with total
{{Bar chart}} | |||||||||||||||
| |||||||||||||||
{{Bar chart/sandbox}} | |||||||||||||||
|
Two data columns with data missing from the end of the first column (use a dash instead; see below)
{{Bar chart}} | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
{{Bar chart/sandbox}} | ||||||||||||||||||||||||||
|
Two data columns with data missing from the end of the first column, using – for empty cells
{{Bar chart}} | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
{{Bar chart/sandbox}} | ||||||||||||||||||||||||||||||
|
Many data columns with total
{{Bar chart}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Bar chart/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Individual bar color (future feature)
Rule | Word counts |
---|---|
Data 1 test | |
G2 | |
G3 | |
G4 | |
G5 | |
G6 | |
G7 | |
G8 | |
G9 | |
G10 | |
G11 | |
G12 | |
G13 | |
G14 |
Sortable (future feature)
![]() | Not implemented yet. |
Rule | Word counts |
---|---|
G1 | |
G2 | |
G3 | |
G4 | |
G5 | |
G6 | |
G7 | |
G8 | |
G9 | |
G10 | |
G11 | |
G12 | |
G13 | |
G14 |
Live template sans params
Country | Population |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Live with bar_width param only
- bar_width = 15
Country | Population |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Live with two params
- table_width = 30
- bar_width = 15
Country | Population |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Sandbox
- Sandbox bar_width params set to 15em
Country | Population |
---|---|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |