Template:Graph:Lines/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Graph:Lines. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Gender Pay Gap
{{Graph:Lines|interpolate=linear |legend=Age group |series="age_16_24", "age_25_34", "age_35_44", "age_45_54" |symbols=1 |table=bls.gov/US Women's weekly earnings as a percent of men's by age, annual averages.tab |title=Gender pay gap in the United States |type=year |vAnnotationsValues={"text": "Fictitious event", "x": 1990} |width=500 |xAxis=Year |xField=year |yAxis=Percentage |yGrid=y |yMax=100 |yZero=false}}
{{Graph:Lines}}
![]() | Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Gender pay gap in the United States.
See or edit source data.
![]() | Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Gender pay gap in the United States.
See or edit source data.
Paintings
{{Graph:Lines|hAnnotationsValues={"text": "Fictitious value", "y": 20000} |series="count" |table=SELECT ?decade (COUNT(?decade) AS ?count) WHERE { ?item wdt:P31 wd:Q3305213 . ?item wdt:P571 ?inception . BIND( year(?inception) as ?year ). BIND( ROUND(?year/10)*10 as ?decade ) . FILTER( ?year > 1400) FILTER( ?year <= year(now())) } GROUP BY ?decade ORDER BY ?decade |tabletype=query |title=Paintings by decade |type=year |width=550 |xField=decade |yAxisFormat=s |yZero=false}}
{{Graph:Lines}}
![]() | Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Paintings by decade.
See Wikidata query.
![]() | Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
Paintings by decade.
See Wikidata query.
Population
{{Graph:Lines|colorscheme=category20 |group=countryLabel |legend=- |table=#Population of countries sharing a border with Germany SELECT ?year ?population ?countryLabel WHERE { { SELECT ?country ?year (AVG(?populations) AS ?population) WHERE { { SELECT ?country (YEAR(?date) AS ?year) ?populations WHERE { ?country wdt:P47 wd:Q183. ?country p:P1082 ?populationStatement. ?populationStatement ps:P1082 ?populations. ?populationStatement pq:P585 ?date. } } FILTER( ?year >= 1900) } GROUP BY ?country ?year } SERVICE wikibase:label { bd:serviceParam wikibase:language "en". } } |tabletype=query |type=year |value=population |width=600 |xField=year |xGrid=y |yAxisFormat=.1s |yGrid=y |yTicks=7}}
{{Graph:Lines}}
![]() | Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
See Wikidata query.
![]() | Graphs are unavailable due to technical issues. There is more info on Phabricator and on MediaWiki.org. |
See Wikidata query.