Šablóna:Graf videní stránky/Dokumentácia

z Wikipédie, slobodnej encyklopédie

Príklady[upraviť zdroj]

{{ Graf videní stránky }}
30 dní tejto stránky (ak sú dáta)
{{ Graf videní stránky | 90 | Main Page | en.wikipedia.org }}
90 dní Hlavnej stránky na anglickej wikipédii
{{ Graf videní stránky | 180 | _ }}
Mesační návštevníci slovenskej wikipédie (posledných 6 mesiacov)
{{ Graf videní stránky | 180 | _ | all-projects | granularity = daily }}
Denní návštevníci wikipédie vo všetkých jazykoch spolu (posledných 6 mesiacov)

Parametre šablóny[upraviť zdroj]

This template inserts a graph of daily pageview statistics (Y axis) over the past N days (X axis) for a page.

Parametre šablóny

Tato šablona upřednostňuje parametry formátované v bloku.

ParameterPopisTypStav
Počet dní späť1

Počet dní späť, ktoré sa majú v grafe zobraziť

Predvolené
30
Číslovoliteľný
Page Title2

Title of the page, with namespace, including needed spaces. If '_' is given, shows the total for the whole site

Predvolené
Name of the current article page (even if on talk page)
Príklad
Main Page
Stránkavoliteľný
Domain3

Domain from which to find page views for the given title, if not this wiki. If '_' is given as parameter 2, 'all-projects' can be used here for all wiki sites summary data

Predvolené
Current wiki
Príklad
en.wikipedia.org
Reťazecvoliteľný
Graph colorcolor

Shade with which to highlight the data in the chart

Predvolené
#00f
Príklad
#f00
Reťazecvoliteľný
Graph scalescale

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

Predvolené
linear
Príklad
log
Reťazecvoliteľný
Maximum Y value axismax

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

Predvolené
Automatically scaled to the data.
Príklad
10000
Číslovoliteľný
Widthwidth

Width for the chart in pixels, if different from the default.

Predvolené
800
Číslovoliteľný
Heightheight

Height for the chart in pixels, if different from the default.

Predvolené
200
Číslovoliteľný
Granularitygranularity

If the 2nd parameter is '_' (shows site stats), set data granularity monthly, daily, or hourly

Predvolené
monthly
Reťazecvoliteľný