Mal:Graph:PageViews/dok
![]() | Dette er en underside med dokumentasjon for Mal:Graph:PageViews (se denne siden for selve malen). Den inneholder brukerinformasjon, kategorier og annet som ikke er del av den originale malsiden. |
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 }} Siste 30 dager for inneværende side (hvis data er tilgjengelige) |
---|
{{ Graph:PageViews | 90 | Main Page | en.wikipedia.org }} Siste 90 dager for forsiden på Wikipedia på norsk bokmål/riksmål |
{{ Graph:PageViews | 180 | _ }} Monthly visitors to the current wiki (last 6 months) |
{{ Graph:PageViews | 180 | _ | all-projects | granularity = daily }} Daily visitors to all worldwide wikis (last 6 months) |
{{ Graph:PageViews | 30 | Main Page | en.wikipedia.org}} 30 days for Main Page on English Wikipedia |
{{ Graph:PageViews | 30 | Main Page | en.wikipedia.org | platform = desktop}} 30 days for Main Page on English Wikipedia - desktop computer browsers |
{{ Graph:PageViews | 30 | Main Page | en.wikipedia.org | platform = mobile-web}} 30 days for Main Page on English Wikipedia - mobile browsers |
{{ Graph:PageViews | 30 | Main Page | en.wikipedia.org | platform = mobile-app}} 30 days for Main Page on English Wikipedia - mobile applications |
Template may be used with different parameter order. For example, in English Wikipedia
{{Graph:PageViews|90|Main Page}}
{{Graph:PageViews|Main Page|90}}
{{Graph:PageViews|Main Page|en.wikipedia.org|90}}
will give the same output.
TemplateData
[rediger kilde]Inserts a graph with the page views statistics for the past N days of a page.
Parameter | Beskrivelse | Type | Status | |
---|---|---|---|---|
Antall dager bakover | 1 | Number of days back to show in the chart
| Tall | valgfri |
Artikkelnavn | 2 | Artikkelnavnet, med navnerom og eventuelle nødvendige mellomrom
| Sidenavn | valgfri |
Domene | 3 | 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
| Streng | valgfri |
Graf-farge | color | Shade with which to highlight the data in the chart
| Streng | valgfri |
Skala | scale | Skalaen kan være en av disse: linear, log, pow, sqrt, quantile, quantize, og threshold
| Streng | valgfri |
maksimumsverdi på Y-aksen | max | Denne valgfrie verdien kan benyttes for å justere flere grafer ved siden av hverandre
| Tall | valgfri |
Bredde | width | Width for the chart in pixels, if different from the default.
| Tall | valgfri |
Høyde | height | Height for the chart in pixels, if different from the default.
| Tall | valgfri |
Platform | platform | Computer platform could be one of these: all-access (all platforms together), desktop (regular browsers), mobile-web (mobile browsers), mobile-app (mobile wiki applications)
| Streng | valgfri |
Granularity | granularity | If the 2nd parameter is '_' (shows site stats), set data granularity monthly, daily, or hourly
| Streng | valgfri |
interpolate | interpolate | Type of line interpolation. See https://github.com/vega/vega/wiki/Marks#line
| Streng | valgfri |