Template:OWIDPopup/doc
Jump to navigation
Jump to search
Use this template to insert interactive charts from Our World in Data. The charts will only be loaded after a popup asking the user for consent to share their IP address with Our World in Data.
Note! This template requires of MediaWiki:Gadget-OWIDPopup.js to work.
Usage
Wikitext:
{{OWIDPopup | owid = grapher/adolescent-fertility | title = Adolescent birth rate | image = Adolescent birth rate, OWID.svg | width = 400px | float = none | caption = Adolescent birth rate according to Our World in Data. | alt = Chart from Our World in Data showing adolescent birth rate }}
Result:
Template data
Use this template to insert interactive charts from Our World in Data.
Parameter | Description | Type | Status | |
---|---|---|---|---|
OWID | owid | Identifier of the chart to embed from Our World in Data
| String | optional |
Title | title | Title of the chart
| String | optional |
Image | image | Name of the image
| String | optional |
Float | float | Position of the image
| String | optional |
Width | width | Width of the image
| String | optional |
Alternative text | alt | Alternative text for the image | String | optional |
Caption | caption | Caption of the image
| String | optional |