Template:IUCN banner and Template:Infobox dim: Difference between pages

From IxWiki
(Difference between pages)
Jump to navigation Jump to search
m (1 revision imported)
 
wp>Zackmann08
 
Line 1: Line 1:
{{#if: {{{1|}}} | {{#switch: {{uc:{{{1|}}}}}
<includeonly>{{Infobox dim/core|{{#if:{{{length_mi|}}}|{{#expr:{{formatnum:{{{length_mi}}}|R}}*1.609}}|{{formatnum:{{{length_km|}}}|R}} }}|<!--
| IA  = <div style="background-color: #E7AF97;">[[IUCN]]<!--
              -->{{#if:{{{width_mi|}}}|{{#expr:{{formatnum:{{{width_mi}}}|R}}*1.609}}|{{formatnum:{{{width_km|}}}|R}} }}|<!--
--> category Ia ([[strict nature reserve]]){{{2|}}}</div>{{#if:{{NAMESPACE}}||}}
              -->{{#switch: 1
| IB  = <div style="background-color: #DACAA5;">[[IUCN]]<!--
          | {{#if:{{{area_mi2|}}}|1|0}} = {{#expr:{{formatnum:{{{area_mi2}}}|R}}*2.59}}
--> category Ib ([[wilderness area]]){{{2|}}}</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category Ib]]}}
  | {{#if:{{{area_acre|}}}|1|0}} = {{#expr:{{formatnum:{{{area_acre}}}|R}}*0.004047}}
| II  = <div style="background-color: #CDE5B2;">[[IUCN]]<!--
  | {{#if:{{{area_ha|}}}|1|0}} = {{#expr:{{formatnum:{{{area_ha}}}|R}}*0.01}}
--> category II ([[national park]]){{{2|}}}</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category II]]}}
  | {{#if:{{{area_km2|}}}|1|0}} = {{formatnum:{{{area_km2}}}|R}} }} }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox dim with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox dim]] with unknown parameter "_VALUE_"|ignoreblank=y| area_acre | area_ha | area_km2 | area_mi2 | length_km | length_mi | width_km | width_mi }}<noinclude>
| III = <div style="background-color: #BFFFBF;">[[IUCN]]<!--
{{Documentation}}</noinclude>
--> category III ([[natural monument|natural monument or feature]]){{{2|}}}</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category III]]}}
| IV  = <div style="background-color: #B2E5CD;">[[IUCN]]<!--
--> category IV (habitat/species management area){{{2|}}}</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category IV]]}}
| V  = <div style="background-color: #A5CADA;">[[IUCN]]<!--
--> category V (protected landscape/seascape){{{2|}}}</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category V]]}}
| VI  = <div style="background-color: #A8BDEC;">[[IUCN]]<!--
--> category VI (protected area with sustainable use of natural resources){{{2|}}}</div>{{#if:{{NAMESPACE}}||[[Category:IUCN Category VI]]}}
| #default = <div style="color: #C80815; font-weight: bold;">An unknown <!--
-->[[IUCN]] category was entered.{{main other|[[Category:Pages using IUCN banner with invalid value]]}}</div>
}} }}<noinclude>
{{Documentation}}
<!--
  PLEASE ADD CATEGORIES AND INTERWIKIS
  TO THE /doc SUBPAGE, THANKS
-->
</noinclude>

Revision as of 17:29, 18 March 2019