Jump to content

Template:Page views double/testcases

From Wikipedia, the free encyclopedia

Test case 1

[edit]
This page
{{Page views double}}

{{Page views double}}


{{Page views double/sandbox}}

Test case 2

[edit]

Note: this test won't work until a couple of days have passed so some data can be acquired.

This page, expanded
{{Page views double|expanded=true}}

{{Page views double}}


{{Page views double/sandbox}}

Test case 3

[edit]
Specified target (Pancake), logarithmic scale, top orange and bottom blue (collapsed)
{{Page views double|color1=orange |color2=cobalt |days1=150 |target=Pancake}}

{{Page views double}}


{{Page views double/sandbox}}

Test case 4

[edit]
target page "Rubber duck", linear scale, and both red (uncollapsed)
{{Page views double|color1=red |color2=red |days1=30 |days2=90 |expanded=true |scale1=linear |target=Rubber duck}}

{{Page views double}}


{{Page views double/sandbox}}

Test case 5a height

[edit]
target page "Rubber duck", linear scale, higher (collapsed)
{{Page views double|height=300 |target=Rubber duck}}

{{Page views double}}


{{Page views double/sandbox}}

Test case 5b width

[edit]
target page 'Rubber duck', linear scale, wider (collapsed)
{{Page views double|target=Megan Thee Stallion |width=700}}

{{Page views double}}


{{Page views double/sandbox}}

Test case 6

[edit]
target page 'Pancake', flip the graphs (six-month red log graph on bottom); collapsed)
{{Page views double|color1=#0c6 |color2=#f30 |days1=30 |days2=182 |scale1=linear |scale2=log |target=Pancake}}

{{Page views double}}


{{Page views double/sandbox}}

  • Success – works in rev 1004349861‎, but bottom graph says '182 days' not 'six months', but maybe that's a feature, as it wasn't designed to replace the interval on the bottom graph.