WikiProjectMed:OWID

From WikiProjectMed
(Redirected from User:Doc James/OurWorld)
Jump to navigation Jump to search

New workflow

Markup Renders as
{{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 = World heat map showing adolescent birth rate with a play button to make it more interactive
}}
World heat map showing adolescent birth rate with a play button to make it more interactive
Adolescent birth rate according to Our World in Data.

Details

{{OWIDPopup}}

MediaWiki

EU WP (Live)

ES WP

Requested improvements

  •  Done Add alt text functionality [1]

Old workflow

The "ourworldindata" extension adds the class "mw-kartographer-container" to the iframe tag so that mwoffliner will remove the entire element making it visible online but not offline. The "onlyoffline" class, which has "display:none", is applied to the static version of the OWID map which hides it online, but mwoffliner removes that class which causes it to display offline.