Шаблон:Graph:PageViews/документація
|
|
Це підсторінка документації шаблону {{Graph:PageViews}} (і·о·д·[http:https://vue.gov.ua/w/index.php?title=%D0%A8%D0%B0%D0%B1%D0%BB%D0%BE%D0%BD%3AGraph%3APageViews&action=edit р]·←·#) використання · параметри [?]. Вона містить інформацію про використання, категорії та інший вміст, що не є частиною оригінальної сторінки шаблону. |
This graph's main version resides at mediawiki Template:Graph:PageViews. Please make all the changes there and copy it everywhere else (until the copying is automated)
| {{ Graph:PageViews }} 30 days for the current page (if there is data) |
{{ Graph:PageViews | 90 | Main Page | en.wikipedia.org }} 90 days for Main Page on English Wikipedia |
{{ Graph:PageViews | 180 | _ }} Monthly visitors to the current wiki (last 6 months) |
|---|---|---|
Inserts a graph with the page views statistics for the past N days of a page.
| Параметр | Опис | Тип | Статус | |
|---|---|---|---|---|
| Number of days back | 1 | Number of days back to show in the chart
| Число | необов'язковий |
| Page Title | 2 | Title of the page, with namespace, including needed spaces. If '_' is given, shows the total for the whole site
| Назва сторінки | необов'язковий |
| Domain | 3 | Domain from which to find page views for the given title, if not this wiki.
| Рядок | необов'язковий |
| Graph color | color | Shade with which to highlight the data in the chart
| Рядок | необов'язковий |
| Graph scale | scale | Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold
| Рядок | необов'язковий |
| Maximum Y value axis | max | This optional value might be useful to align multiple graphs side-by-side
| Число | необов'язковий |
| Width | width | Width for the chart in pixels, if different from the default.
| Число | необов'язковий |
| Height | height | Height for the chart in pixels, if different from the default.
| Число | необов'язковий |
| Granularity | granularity | If the 2nd parameter is '_' (shows site stats), set data granularity monthly, daily, or hourly
| Рядок | необов'язковий |