Template:SDG inline

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

A template which creates pictures inline of Sustainable Development Goal (SDG) icons. Each icon links to the undp.org page for that goal.

Examples[edit]

Basic template[edit]

{{SDG inline|sdg_1=|sdg_2=1|sdg_3=0|sdg_4=1|sdg_5=1|sdg_17=1}}

Text before Zero hunger Quality education Gender equality Partnerships for the goals and after.


All goals[edit]

{{SDG inline|sdg_all=1}}

Text before The Global goals and after.


See also[edit]


A template which creates inline images of Sustainable Development Goal (SDG) icons. Each icon links to the undp.org page for that goal. To find out more about each goal visit the page 2019:Theme/FAQ

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
SDG 1 - No Povertysdg_1

no description

Example
1
Booleanoptional
SDG 2 - Zero hungersdg_2

no description

Example
1
Booleanoptional
SDG 3 - Good health and well-beingsdg_3

no description

Example
1
Booleanoptional
SDG 4 - Quality educationsdg_4

no description

Example
1
Booleanoptional
SDG 5 - Gender equalitysdg_5

no description

Example
1
Booleanoptional
SDG 6 - Clean water and sanitationsdg_6

no description

Example
1
Booleanoptional
SDG 7 - Affordable and clean energysdg_7

no description

Example
1
Booleanoptional
SDG 8 - Decent work and economic growthsdg_8

no description

Example
1
Booleanoptional
SDG 9 - Industry, innovation and infrastructuresdg_9

no description

Example
1
Booleanoptional
SDG 10 - Reduced inequalitiessdg_10

no description

Example
1
Booleanoptional
SDG 11 - Sustainable cities and communitiessdg_11

no description

Example
1
Booleanoptional
SDG 12 - Responsible consumption and productionsdg_12

no description

Example
1
Booleanoptional
SDG 13 - Climate actionsdg_13

no description

Example
1
Booleanoptional
SDG 14 - Life below watersdg_14

no description

Example
1
Booleanoptional
SDG 15 - Life on landsdg_15

no description

Example
1
Booleanoptional
SDG 16 - Peace, justice and strong institutionssdg_16

no description

Example
1
Booleanoptional
SDG 17 - Partnerships for the goalssdg_17

no description

Example
1
Booleanoptional
Icon widthwidth

Width of the individual icon in the gallery. Default is 50px.

Example
50px
Stringoptional
Logo widthwith_logo

If provided the Global Goals logo is added atop the gallery.

Example
200px
Stringoptional