Difference between revisions of "Template:Climate change"

From blackwiki
Jump to navigation Jump to search
imported>Efbrazil
(Undid revision 976731434 by Efbrazil (talk) I messed up and did this move incorrectly as a copy / paste, losing history in the process. Undoing until I can figure out the right way to do this move.)
imported>Efbrazil
(Renaming global warming to climate change where appropriate)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
| name  = Global warming
+
| name  = Climate change
 
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state = {{{state<includeonly>|autocollapse</includeonly>}}}
| title = [[Climate change|Global warming]]
+
| title = [[Climate change|Climate change]]
 
| selected = {{{1|{{{expanded|}}}}}}
 
| selected = {{{1|{{{expanded|}}}}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 80: Line 80:
 
* [[Effects of climate change on plant biodiversity|Effects on plant biodiversity]]
 
* [[Effects of climate change on plant biodiversity|Effects on plant biodiversity]]
 
* [[Human impact on marine life|Effects on marine life]]
 
* [[Human impact on marine life|Effects on marine life]]
* [[Effects of global warming on marine mammals|Effects on marine mammals]]
+
* [[Effects of climate change on marine mammals|Effects on marine mammals]]
 
* [[Effects of climate change on terrestrial animals|Effects on terrestrial animals]]
 
* [[Effects of climate change on terrestrial animals|Effects on terrestrial animals]]
 
* [[Extinction risk from global warming]]
 
* [[Extinction risk from global warming]]
Line 92: Line 92:
 
* [[Climate change and gender]]
 
* [[Climate change and gender]]
 
* [[Climate change and poverty]]
 
* [[Climate change and poverty]]
* [[Economics of global warming]]
+
* [[Economics of climate change]]
* [[Effects of global warming on human health|Effects on health]]
+
* [[Effects of climate change on human health|Effects on health]]
* [[Effects of global warming on humans|Effects on humans]]
+
* [[Effects of climate change on humans|Effects on humans]]
 
* [[Human Rights and Climate Change|Human rights]]
 
* [[Human Rights and Climate Change|Human rights]]
 
* [[Climate change and indigenous peoples|Indigenous peoples]]
 
* [[Climate change and indigenous peoples|Indigenous peoples]]
Line 105: Line 105:
 
   | list4  =
 
   | list4  =
 
* [[Climate change in the Arctic|Arctic]]
 
* [[Climate change in the Arctic|Arctic]]
* [[Effects of global warming on Australia|Australia]]
+
* [[Climate change in Australia|Australia]]
* [[Effects of global warming on South Asia|South Asia]]
+
* [[Effects of climate change on South Asia|South Asia]]
** [[Effects of global warming on India|India]]
 
 
** [[Climate change adaptation in Nepal|Nepal]]
 
** [[Climate change adaptation in Nepal|Nepal]]
 
  }}
 
  }}
Line 120: Line 119:
 
   | group1 = General
 
   | group1 = General
 
   | list1  =
 
   | list1  =
* [[Politics of global warming|Politics]] ([[Climate movement]]
+
* [[Politics of climate change|Politics]] ([[Climate movement]]
 
* [[Public opinion on global warming|Public opinion]]
 
* [[Public opinion on global warming|Public opinion]]
 
* [[Climate change opinion by country|Public opinion by country]]
 
* [[Climate change opinion by country|Public opinion by country]]
Line 213: Line 212:
 
* {{icon|list}} [[Index of climate change articles|Index]]
 
* {{icon|list}} [[Index of climate change articles|Index]]
 
* {{icon|category}} [[:Category:Climate change|Climate change]]
 
* {{icon|category}} [[:Category:Climate change|Climate change]]
* {{icon|category}} [[:Category:Global warming|Global warming]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:47, 8 September 2020

Usage

Place this template at the bottom of an appropriate article.

Parameters

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Climate change|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Climate change|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Climate change|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

Example

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • Temperatures
    • Causes
    • History
    • Opinion
    • Politics
    • Effects
    • Mitigation
    • Adaptation
  • For example: {{Climate change |Temperatures}}

(Click [show] to see example)

Template Data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Climate change

A navbox on climate change

Template parameters

ParameterDescriptionTypeStatus
(text)1

Will expand a single section where appropriate

Default
all sections collapsed
Stringoptional
(text)expanded

Will expand a single section where appropriate

Default
all sections collapsed
Stringoptional
(text)state

Determines whether the navbox should be collapsed, expanded or autocollapsed

Default
autocollapse
Stringoptional

See also