This is a documentation subpage for Wikipedia:Wikipedia Signpost/Templates/Pageview hack. It may contain usage information, categories and other content that is not part of the original wikipedia page. |
This was forked from Template:Graph:PageViews on 00:47, 6 November 2022 (UTC); extremely detailed documentation is available there. This version modifies a couple things, to make it possible to get pageviews for intervals that aren't tied to the current date.
{{{1}}}
: Number of days forward (default is 30).{{{2}}}
: Page title (required).{{{start}}}
: Start date, i.e. oldest date to get pageviews from.{{{scale}}}
: linear, log, pow, sqrt, quantile, quantize, or threshold.{{{max}}}
: Maximum Y value.{{{width}}}
and {{{height}}}
: Should be obvious. Defaults are 800 and 200.{{{color}}}
: Graph color. Default is #00f.{{Wikipedia:Wikipedia Signpost/Templates/Pageview hack|180|Dog|start=2017-01-01|scale=log|max=10000|height=480|width=640}}
will look like this:
Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |