Jump to content

WikiProjectMed talk:OWID/Archive 1

From WikiProjectMed
  •  Done Improve formating in dark mode including Fix colors for night mode for the select region dropdown and the i popup
  •  Done Make it such that you can click on the "I" and it stays open. And then the text within it is selectable
    •  Done Activate on Commons[1]
    •  Done Put the world grouping at the top of the template
    •  Done Use spaces instead of _ and add a space after commas
  •  Done Improve Wikidata country names translations within country graphs and heatmap popup
  •  Done On firefox when using a wide screen that is short in height, the scroll bar can disappear under the blue "Return to article" bar
  •  Done Have the category placed by the template rather than the module as requested here
  •  Done Need a template that lists all the languages an SVG is in

How to use

Single

<ourworldindatamirror>share-of-population-with-schizophrenia</ourworldindatamirror>

<!-- Shows online and is interactive -->
<templatestyles src="Owid/styles.css"/><ourworldindatamirror>share-of-population-with-schizophrenia</ourworldindatamirror>
<!-- Shows offline and is still -->
{{onlyoffline|[[File:XXX|thumb|400px]]}}

Double

<ourworldindatamirror>asthma-prevalence</ourworldindatamirror> <ourworldindatamirror>interventions-ntds-sdgs</ourworldindatamirror>

<!-- Shows online and is interactive -->
<templatestyles src="Owid/styles.css"/><ourworldindatamirror>asthma-prevalence</ourworldindatamirror>
<templatestyles src="Owid/styles.css"/><ourworldindatamirror>interventions-ntds-sdgs</ourworldindatamirror>
<!-- Shows offline and is still -->
{{Flex columns
|1 ={{onlyoffline|[[File:Number of people requiring interventions against neglected tropical diseases (NTDs), OWID.svg|thumb|400px]]}}
|2 ={{onlyoffline|[[File:Asthma prevalence, OWID.svg|thumb|400px]]}}
}}

Test

1

<ourworldindatamirror>daily-covid-deaths-region</ourworldindatamirror> <ourworldindatamirror>weekly-covid-cases</ourworldindatamirror>

<ourworldindatamirror>weekly-covid-deaths</ourworldindatamirror> <ourworldindatamirror>cumulative-covid-deaths-region</ourworldindatamirror>

2

Full url used

<ourworldindatamirror>https://owidm.wmcloud.org/grapher/prevalence-of-anemia-in-children?tab=map</ourworldindatamirror> <ourworldindatamirror>https://owidm.wmcloud.org/grapher/prevalence-of-anemia-in-women-of-reproductive-age-aged-15-29?tab=map</ourworldindatamirror>

use tag attribute to override chart to map

test use of compound attribute like country

Even as tag attribute this one causes a problem

3