模板:Graph:PageViews

來自維基學院
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

圖表主版本位於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
數值選填