قالب:مخطط زيارات صفحة
الإصدار الأصلي من هذا القالب موجودٌ في mediawiki Template:Graph:PageViews. فضلًا ضع جميع التعديلات هناك وانسخها إلى أي مكان آخر (حتى يُصبح النص آليًّا).
| {{ مخطط زيارات صفحة }} 30 يومًا لهذه الصفحة (إذا كانت هنالك بيانات) |
|---|
| {{ مخطط زيارات صفحة | 90 | الصفحة الرئيسية | ar.wikipedia.org }} 90 يومًا للصفحة الرئيسية لويكيبيديا العربية |
| {{ مخطط زيارات صفحة | 180 | _ }} الزيارات الشهرية للموسوعة الحاليّة (آخر 6 أشهر) |
يُضيف مخططًا بإحصاءات زيارات الصفحة لعدد معين من الأيام.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| عدد الأيام الماضية | 1 | عدد الأيام الماضية المراد عرضها في الرسم البياني
| رقم | اختياري |
| 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
| نص | اختياري |