Template:Pageviews/doc
Use this template to create line charts of the pageviews of specific pages or categories. If the page name is omitted, the current page is used. If the given page is a category, the combined pageviews of all pages in the category will be shown.
Use several calls to this template to keep track and compare different pages and create project dashboards.
Examples
[edit source]Simple
[edit source]{{Pageviews|Solar cooker}}
Full
[edit source]{{Pageviews
| page = Category:SELF
| days = 180
| frequency = daily
| height = 500
}}
See also
[edit source]- MediaWiki:Gadget-Pageviews.js - JavaScript that makes this template work
Template data
[edit source]Use this template to create line charts of the pageviews of specific pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page | page 1 | Title of the page for which to display the pageviews
| Page name | suggested |
| Days | days | How many days of data to show
| Number | optional |
| Frequency | frequency | How to group data
| String | optional |
| Height | height | Height of the chart, in pixels
| Number | optional |