Visualizer for Wikimedia projects/url parameters
Url parameters
editGeneral parameters:
page
- The page nameproject
- the project url [default is en.wikipedia.org]tpl
- The template nameid
- the template rank, if multiple per page [default is 1]lang
- Language of the system messages [default is en]
Classic usage options (tpl
equals anything but motionchart
):
ct
- The chart type:pie
,bar
,column
,lines
,scatter
,area
,sparkline
,geomap
orintensitymap
.title
- The chart title [default is the page name].columns
(integer) Number of data columns [default is the total number of columns]. Use this limit if the table has extra-columns.height
andwidth
(integers) the chart size in px [defaults are 400 and 1000].
Motion chart usage (tpl=motionchart
):
x
- the x axis titley
- the y axis titlegroup
- the group title
Web developer usage:
view
- Add&view=chart
or&view=js
to the url to view the raw chart content. [default isview=html
].div
- the chart division id [default isdiv=chart_div
].