• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:WikidataChart

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:WikidataChart
  • Module:Graph (sandbox)
This template uses the Wikidata property:
  • point in time (P585) (see uses)

Parameters

edit
  • |1= Wikidata ID of the property that is to be displayed graphically in the y-axis
  • |2= Wikidata ID of a qualifier of the property (1) that is to be used for the x-axis (currently limited to date properties), e.g. point in time (P585)
  • |pageIds= Wikidata ID of the entries to be displayed
  • |xStart= filter out all value pairs whose x-value is smaller
  • |xEnd= filter out all value pairs whose x-value is greater
  • |precision= if the x-values ​​have incompatible accuracies, e.g. mixed day and month exact specifications, then the desired precision can be specified here. Pairs of values ​​that are more inaccurate are filtered out, e.g. precision = 11 (exact to the day) filters out information that is exact to the month, as these could not be sorted appropriately.
    • Accuracy values: 7 = century, 8 = decade, 9 = year, 10 = month, 11 = day, 12 = hour, 13 = minute, 14 = second

Parameters starting with chart_ are passed directly to Module:Graph without this prefix and can be used to control the diagram display. For the available parameters, see there.

Example

edit

Elo rating (P1087) of Magnus Carlsen (Q106807) and Sergey Karjakin (Q217198) with point in time (P585) as x-axis limited up to and including 2014 and y-axis maximum value of 3000:

{{WikidataChart|P1087|P585|pageIds=Q106807,Q217198|xEnd=2014|chart_width=500|chart_height=200|chart_legend=Legend|chart_yGrid=1|chart_yAxisMax=3000}}
This graph was using the legacy Graph extension, which is no longer supported. It needs to be converted to the new Chart extension.

See also

edit
  • {{Elo chart}}
The above documentation is transcluded from Template:WikidataChart/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:WikidataChart&oldid=1051429715"
Last edited on 23 October 2021, at 13:24

Languages

    • Беларуская (тарашкевіца)
    • Deutsch
    • فارسی
    • Հայերեն
    • עברית
    • Oʻzbekcha / ўзбекча
    • Русский
    • Svenska
    • Українська
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 23 October 2021, at 13:24 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop