Template:Xviews/summary
Appearance
Template documentation
Returns a summary containing six statistics about data in a pageviews file downloaded from the pageviews tool.
Usage
{{xviews/summary}}
{{xviews/summary|days=number}}
{{xviews/summary|Talk:ArticleName/pageviews}}
Parameters
|1=
– name of a Talk subpage containing page views data dumped from the tool (optional; default: subpage /pageviews of the current page)
|days=
– number of days (bars) displayed in the chart (optional; default: 75)
Description
The summary info emitted by the template:
- size – the number of date-stamped pageview statistics available in the pageviews file (typical: 92, i.e., three months' worth)
- age – age of the most recent statistic in the pageviews file, in days; if age exceeds the staleness constant (30) the graph is not displayed.
- days – the number of days displayed in the chart (may be less than size due to technical template limitations)
- min – the smallest page views statistic in the data set
- max – the largest page views statistic in the data set
- latest – the page views statistic for the most recent date available
All summary fields (except 'days') refer to characteristics of the pageviews file, regardless how many days are displayed in the chart.
Examples
{{xviews/summary|Talk:Liberation of France/pageviews}}
→ Pageviews summary: size=91, age=41, days=75, min=252, max=773, latest=421{{xviews/summary|Talk:World War II/pageviews}}
→ Pageviews summary: size=76, age=40, days=75, min=27351, max=41882, latest=30296{{xviews/summary|Talk:House of the Dragon/pageviews}}
→ Pageviews summary: size=102, age=52, days=75, min=20477, max=329685, latest=20788{{xviews/summary|Talk:Rule of law/pageviews}}
→ Pageviews summary: size=76, age=49, days=75, min=599, max=1559, latest=795{{xviews/summary|Talk:Crusades/pageviews}}
→ Pageviews summary: size=93, age=50, days=75, min=2885, max=5241, latest=3988{{xviews/summary|Talk:Crusades/pageviews|days=30}}
→ Pageviews summary: size=93, age=50, days=30, min=2885, max=5241, latest=3988
See also
- {{xviews/vbar}}
- {{xviews/view count}}
- [{{xviews/max views}}