Difference between revisions of "Template:IUCN banner/doc"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(added a bit)
imported>Droll
(tweaked)
Line 2: Line 2:
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
  
This template is used inside other templates. It takes up one unnamed parameter and creates a "banner" to be displayed in an infobox.
+
This template is used inside other templates. It takes one unnamed parameter and creates a "banner" to be displayed in an infobox.
  
 
=== Usage ===
 
=== Usage ===
  
Depending on the value of the first parameter, one of the following banners will be displayed. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the [[World Commission on Protected Areas]] article. If no value is used no banner will be displayed. If an invalid value is used an error message will be displayed.
+
Depending on the value of the parameter, one of the following banners will be displayed. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the [[World Commission on Protected Areas]] article. If no value is used no banner will be displayed. If an invalid value is used an error message will be displayed.
 
 
Depending on the category one of the following banners will be displayed.
 
  
 
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
 
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
 
|-
 
|-
| <div style="background-color: #E7AF97;"><!--
+
| {{IUCN banner|Ia}}
  -->[[World Conservation Union|IUCN]] Category Ia ([[Nature reserve|Strict Nature Reserve]])</div>
 
 
|-
 
|-
| <div style="background-color: #DACAA5;"><!--
+
| {{IUCN banner|Ib}}
  -->[[World Conservation Union|IUCN]] Category Ib ([[Wilderness area]])<div>
 
 
|-
 
|-
| <div style="background-color: #CDE5B2;"><!--
+
| {{IUCN banner|II}}
  -->[[World Conservation Union|IUCN]] Category II ([[National Park]])</div>
 
 
|-
 
|-
| <div style="background-color: #BFFFBF;"><!--
+
| {{IUCN banner|III}}
  -->[[World Conservation Union|IUCN]] Category III ([[Natural Monument]])</div>
 
 
|-
 
|-
| <div style="background-color: #B2E5CD;"><!--
+
| {{IUCN banner|IV}}
  -->[[World Conservation Union|IUCN]] Category IV (Habitat/Species Management Area)</div>
 
 
|-
 
|-
| <div style="background-color: #A5CADA;"><!--
+
| {{IUCN banner|V}}
  -->[[World Conservation Union|IUCN]] Category V (Protected Landscape/Seascape)</div>
 
 
|-
 
|-
| <div style="background-color: #A8BDEC;"><!--
+
| {{IUCN banner|VI}}
  -->[[World Conservation Union|IUCN]] Category VI (Managed Resource Protected Area)</div>
 
 
|}
 
|}
  
Line 51: Line 42:
 
</pre>
 
</pre>
  
=== See also ===
+
=== Used by ===
 
* {{tl|Infobox protected area}}
 
* {{tl|Infobox protected area}}
 
* {{tl|Infobox protected area of Australia}}
 
* {{tl|Infobox protected area of Australia}}

Revision as of 20:25, 16 February 2011

This template is used inside other templates. It takes one unnamed parameter and creates a "banner" to be displayed in an infobox.

Usage

Depending on the value of the parameter, one of the following banners will be displayed. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the World Commission on Protected Areas article. If no value is used no banner will be displayed. If an invalid value is used an error message will be displayed.

IUCN category Ib (wilderness area)
IUCN category II (national park)
IUCN category IV (habitat/species management area)
IUCN category V (protected landscape/seascape)
IUCN category VI (protected area with sustainable use of natural resources)

Example

My infobox
IUCN category II (national park)
DataMy data
{{Infobox
| above  = My infobox
| data1  = {{IUCN banner|II}}
| label2 = Data
| data2  = My data
}}

Used by