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

From blackwiki
Jump to navigation Jump to search
imported>Droll
(used {{template sandbox notice}})
imported>Bamyers99
(Moved category VI description to next line)
Line 13: Line 13:
 
--> category V (protected landscape/seascape)</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category V]]}}
 
--> category V (protected landscape/seascape)</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category V]]}}
 
| VI  = <div style="background-color: #A8BDEC;">[[IUCN]]<!--
 
| VI  = <div style="background-color: #A8BDEC;">[[IUCN]]<!--
--> category VI (protected area with sustainable use of natural recources)</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category VI]]}}
+
--> category VI<br />(protected area with sustainable use of natural recources)</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category VI]]}}
 
| #default = <div style="color: #C80815; font-weight: bold;">An unknown <!--
 
| #default = <div style="color: #C80815; font-weight: bold;">An unknown <!--
 
-->[[IUCN]] category was entered.</div>
 
-->[[IUCN]] category was entered.</div>
 
}} }}<noinclude>
 
}} }}<noinclude>
{{template sandbox notice}}
+
{{Documentation}}
 
<!--
 
<!--
 
   PLEASE ADD CATEGORIES AND INTERWIKIS
 
   PLEASE ADD CATEGORIES AND INTERWIKIS

Revision as of 00:38, 19 April 2012

Template documentation[view] [edit] [history] [purge]

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

Tracking categories