User:Mathglot/sandbox/Templates/Page views double/testcases
![]() | This is the template test cases page for the sandbox of User:Mathglot/sandbox/Templates/Page views double. 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: |
Test case 1
edit{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Daily pageviews of this page Last six months (log scale)
{{Graph:PageViews|30|User:Mathglot/sandbox/Templates/Page views double/testcases}} |
Test case 2
editNote: this test won't work until a couple of days have passed so some data can be acquired.
{{User:Mathglot/sandbox/Templates/Page views double|expanded=true}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Daily pageviews of this page Last six months (log scale)
{{Graph:PageViews|30|User:Mathglot/sandbox/Templates/Page views double/testcases}} |
Test case 3
edit{{User:Mathglot/sandbox/Templates/Page views double|color1=orange |color2=cobalt |days1=150 |target=Pancake}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Last 150 days (log scale)
{{Graph:PageViews|30|Pancake}} |
Test case 4
edit{{User:Mathglot/sandbox/Templates/Page views double|color1=red |color2=red |days1=30 |days2=90 |expanded=true |scale1=linear |target=Rubber duck}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Last 30 days (linear scale)
{{Graph:PageViews|90|Rubber duck}} |
Test case 5a height
edit{{User:Mathglot/sandbox/Templates/Page views double|height=300 |target=Rubber duck}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Last six months (log scale)
{{Graph:PageViews|30|Rubber duck}} |
- (working in rev. 1004349861)
Test case 5b width
edit{{User:Mathglot/sandbox/Templates/Page views double|target=Megan Thee Stallion |width=700}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Last six months (log scale)
{{Graph:PageViews|30|Megan Thee Stallion}} |
- Success – (working in rev. 1004349861)
Test case 6
edit{{User:Mathglot/sandbox/Templates/Page views double|color1=#0c6 |color2=#f30 |days1=30 |days2=182 |scale1=linear |scale2=log |target=Pancake}}
{{User:Mathglot/sandbox/Templates/Page views double}}
{{User:Mathglot/sandbox/Templates/Page views double/sandbox}}
Last 30 days (linear scale)
{{Graph:PageViews|182|Pancake}} |
- 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.