Daily pageviews of this page
A graph should have been displayed here but
graphs are temporarily disabled. Until they are enabled again, visit the interactive graph at
pageviews.wmcloud.org |
Graphs are currently disabled
Graphs are unavailable due to a known technical issue. Updates on reimplementing the Graph extension can be found on
Phabricator and on
MediaWiki.org. |
This template is used on approximately 53,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template reports the daily page views for an article over a period of time (default: the last year), placing them in a suitable frame with a heading. It is typically placed on an article's talk page below other talk page banners.
Basic syntax (annual data):
{{
Annual readership}}
Template syntax with optional parameters:
{{
Annual readership|expanded=|days=|target=|title=|color=|scale=|width=|height=}}
|expanded=
can be used to override the default auto-collapsing of the message box. To prevent the graph from being collapsed on page load, use |expanded=true
.|days=
(default: 365) can be used to change the number of pageview days depicted in the graph.|target=
(default:
{{SUBJECTPAGENAME}}) can be used to simultaneously specify the page in the graph title (if |title=
is not specified) and the page for which page traffic is displayed.|title=
(default: see notes) can be used to specify the page in the graph title.|color=
(default: #00f) can be used to change the graph color; accepted inputs include
HTML color names (e.g., red) and hex codes.|scale=
(default: linear) can be used to change the scale of the y axis; accepted inputs: linear, log, pow, sqrt, quantile, quantize, and threshold.|width=
(default: 570) may be used to change the width in pixels of the image.
|height=
(default: 200) may be used to change the height.If both |title=
and |target=
are not specified, the graph title varies depending on the namespace of the page where this template is used.
If |title=
is not specified, but |target=
is specified, the graph title is set as "Daily pageviews of target page", with the target page linked.
If |title=
is specified, regardless of the specification of |target=
, the graph title is set as "Daily pageviews of text", with the text unlinked.
|title=XYZ
would set the graph title as:
|title=[[XYZ]]
would set the graph title as:
| ||||
| ||||
For comparison, here's the same template as above except with a linear scale:
| ||||
|