Template:Climate change
Usage
[change source]Place this template at the bottom of an appropriate article.
Parameters
[change source]Starting visibility: currently automatically selects itself to autocollapse
To set this template's starting 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}}
If the |state= parameter in the template on this page is not set, the template's starting visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
Example
[change source]- 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
|namewhere name is one of the following names identifying the groups/sections (omit any speech or quotation marks): - Overview
- Causes
- History
- Effects
- Mitigation
- Opinion
- Background
- For example:
{{Climate change |History}}
- The group/section named
Overviewhas been set to be visible when the template appears.
(Click [show] to see example)
Template data
[change source]TemplateData for Climate change
A navbox on climate change
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| (text) | 1 | Will expand a single section where appropriate
| String | optional |
| (text) | expanded | Will expand a single section where appropriate
| String | optional |
| (text) | state | Determines whether the navbox should be collapsed, expanded or autocollapsed
| String | optional |