Wikipedia:Wikipedia Signpost/Templates/Pageview hack/doc
{{Documentation subpage}}
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.
:Note from 02:03, 29 June 2023 (UTC): This is not very useful anymore. See the WegweiserBot modules: pageview data is now stored in pages like Module:Signpost/index/2023. jp×g 02:03, 29 June 2023 (UTC)
Usage
: Number of days forward (default is 30).{{{1}}}
: Page title (required).{{{2}}}
: Start date, i.e. oldest date to get pageviews from.{{{start}}}
: linear, log, pow, sqrt, quantile, quantize, or threshold.{{{scale}}}
: Maximum Y value.{{{max}}}
and{{{width}}}
: Should be obvious. Defaults are 800 and 200.{{{height}}}
: Graph color. Default is #00f.{{{color}}}
will look like this:
{{Wikipedia:Wikipedia Signpost/Templates/Pageview hack|180|Dog|start=2017-01-01|scale=log|max=10000|height=480|width=640}}
}}