Jump to content

Template:Graph:PageViews

From mediawiki.org
Revision as of 03:36, 16 February 2016 by Yurik (talk | contribs) (updated from enwiki)


This graph's main version resides at enwiki Template:Graph:PageViews. Please make all the changes there and copy it everywhere else (until the copying is automated)

Example Usage. Without params shows 30 days for the current page:

{{ Graph:PageViews | 90 | Main Page | en.wikipedia.org }}


Inserts a graph with the page views statistics for the past N days of a page.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

Number of days back

Default
30
Numbersuggested
Page Title2

Title of the page, with namespace, including needed spaces

Default
Name of the current article page (even if on talk page)
Example
Main Page
Page nameoptional
33

Domain

Default
Current wiki
Example
en.wikipedia.org
Stringoptional