Jump to content

Template:Ecoregion Level 4: Difference between revisions

From PanEcoDevWiki
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 45: Line 45:
|hasEcosystemSummary=Text
|hasEcosystemSummary=Text
|hasFootprint=Page
|hasFootprint=Page
|hasGeography=Page
|hasGeography=List (,) of Page
|hasHydrography=List (,) of Page
|hasHydrography=List (,) of Page
}}
}}
Line 73: Line 73:
|hasHydrography={{{hasHydrography|}}}
|hasHydrography={{{hasHydrography|}}}
}}
}}
{{#template_display:_format=table}}
 
{{#display_map:center={{#var:footprint}}|geojson={{#var:footprint}}|defzoom=20}}
 
{{#vardefine:footprint|{{{hasFootprint}}} }}
{{#vardefine:parent|{{{hasParentEcoregion}}}}}
 
{{#vardefine:grandparent|{{#cargo_query:tables=Ecoregion_Level_3|fields=hasParentEcoregion|where=_pageName='{{#var:parent}}'}} }}
 
 
{{#vardefine:greatgrandparent|{{#cargo_query:tables=Ecoregion_Level_2, Ecoregion_Level_3|join on=Ecoregion_Level_3.hasParentEcoregion=Ecoregion_Level_2._pageName|fields=Ecoregion_Level_2.hasParentEcoregion|where=Ecoregion_Level_2._pageName='{{#var:grandparent}}'}} }}
 
{{#var:parent}}
{{#var:grandparent}}
{{#var:greatgrandparent}}
 
<!---- Main Div ---->
<div style="overflow: hidden;">
<!-- Right column: Information table -->
    <div style="float: right; width: 33%; margin-left: 20px;">
    <h1>Ecoregion Data</h1> 
    <div>
      {| class="wikitable" style="width:100%"
      |+Ecoregion Level {{{hasLevel|}}}
      | colspan=2 | {{{hasEcoregionID}}} - {{{hasName}}}
      |-
      ! colspan=2 | Region
      |-
      | {{#invoke:TrimArray|links|{{{isSubregionOf|}}}|form=Region}}
      |-
      ! colspan=2 | Parent Ecoregions
      |-
      | {{#invoke:TrimArray|links|{{{hasParentEcoregion|}}}|form=Ecoregion_Level_3}}
      |-
      ! colspan =2 | Child Ecosystems
      |-
      | {{#invoke:TrimArray|links|{{{hasEcosystem|}}}|form=Ecosystem}}
      |-
      ! Geography
      |-
      | {{#invoke:TrimArray|links|{{{hasGeography|}}}|alt_forms=Region, Topology, Geography}}
      |-
      ! Hydrography
      |-
      | {{#invoke:TrimArray|links|{{{hasGeography|}}}|form=Hydrography}}
      |}
    </div>
  </div>
  <div style="max width: 100%;">
    <h1>Description</h1>
    {{{hasDescription|}}}
    <h1>Physical Setting</h1>
    {{{hasPhysicalSetting}}}
    <h1>Biological Setting</h1>
    {{{hasBiologicalSetting}}}
    <h1>Climate</h1>
    {{{hasClimate}}}
      </div>
</div>
 
 
 
[[Category:Ecoregion Level 4]]
[[Category:Ecoregion Level 4]]
[[Category:Ecoregions]]
[[Category:Ecoregions]]
</includeonly>
</includeonly>

Latest revision as of 19:31, 23 November 2025

This is the "Ecoregion Level 4" template.

It should be called in the following format:

{{Ecoregion Level 4
|hasName==
|hasURL==
|hasID==
|hasEcoregionID==
|hasLevel==
|hasDescription==
|hasBiologicalSetting==
|hasPhysicalSetting==
|hasCommunitySetting==
|hasGeologySetting==
|hasClimate==
|hasHydrology==
|hasGeology==
|hasTopography==
|isSubregionOf==
|hasSubregion==
|hasParentEcoregion==
|hasEcosystem==
|hasEcosystemSummary==
|hasFootprint==
|hasGeography==
|hasHydrography==
}}

Edit the page to see the template text.

This template defines the table "Ecoregion_Level_4". View table.