Jump to content

Template:SDG

From Meta, a Wikimedia project coordination wiki
Template documentation


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

For more information about SDGs icons use guidelines, please read the official document "Guidelines for the use of the SDG logo including the colour wheel, and 17 icons".

Examples

[edit]

Basic template

[edit]

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


Without header

[edit]

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


[edit]

{{SDG|sdg_2=1|sdg_4=1|sdg_5=1|sdg_12=1|sdg_14=1|sdg_15=1|sdg_17=1|with_logo=20%}}


Override the sizes

[edit]

{{SDG|sdg_2=1|sdg_4=1|sdg_5=1|sdg_17=1|with_logo=300px|width=100px}}


See also

[edit]
  • {{SDG inline}} for use of the logos in inline text.


A template which creates a gallery 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[Edit template data]

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