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

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(typo)
imported>Hike395
(sync sandbox)
Line 6: Line 6:
 
| II  = <div style="background-color: #CDE5B2;">[[IUCN]]<!--
 
| II  = <div style="background-color: #CDE5B2;">[[IUCN]]<!--
 
--> category II ([[national park]])</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category II]]}}
 
--> category II ([[national park]])</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category II]]}}
| III = <div style="background-color: #BFFFBF;{{#ifeq:|{{{format|}}}|wide|white-space:nowrap;}}">[[IUCN]]<!--
+
| III = <div style="background-color: #BFFFBF;">[[IUCN]]<!--
 
--> category III ([[natural monument|natural monument or feature]])</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category III]]}}
 
--> category III ([[natural monument|natural monument or feature]])</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category III]]}}
 
| IV  = <div style="background-color: #B2E5CD;">[[IUCN]]<!--
 
| IV  = <div style="background-color: #B2E5CD;">[[IUCN]]<!--
 
--> category IV (habitat/species management area)</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category IV]]}}
 
--> category IV (habitat/species management area)</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category IV]]}}
| V  = <div style="background-color: #A5CADA;{{#ifeq:{{{format|}}}|wide|white-space:nowrap}}">[[IUCN]]<!--
+
| V  = <div style="background-color: #A5CADA;">[[IUCN]]<!--
 
--> 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]]<!--
Line 17: Line 17:
 
-->[[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 12:31, 10 December 2017

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