Template:Graph:PageViews/doc

来自维基学院

图表主版本位于mediawiki Template:Graph:PageViews。请转那里做出更改,然后到处复制新版。(在复制过程自动化之前)

{{Graph:PageViews}}
本页30日数据(有数据的话)
{{Graph:PageViews|90|Wikipedia:首页|zh.wikiversity.org}}
中文维基學院首页90日数据
{{Graph:PageViews|180|_}}
6个月来每月的当前Wiki总访问量数据

插入一個圖表 with the page views statistics for the past N days of a page.

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
统计天数1

无描述

默认值
30
数字推荐
页面标题2

Title of the page, with namespace, including needed spaces

默认值
Name of the current article page (even if on talk page)
示例值
Main Page
页面名称可选
域名3

无描述

默认值
Current wiki
示例值
en.wikipedia.org
字符串可选
图标颜色color

无描述

默认值
#00f
示例值
#f00
字符串可选
图表比例scale

Scaling could be one of these: linear, log, pow, sqrt, quantile, quantize, and threshold

默认值
linear
示例值
log
字符串可选
Y轴最大值max

This optional value might be useful to align multiple graphs side-by-side

默认值
auto
示例值
10000
数字可选