Jump to content

Template:Ecoregion Level 1: Difference between revisions

From PanEcoDevWiki
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:}}
{{#template_params:
|hasName={{{hasName|}}}
|hasName={{{hasName|}}}
|hasURL={{{hasURL|}}}
|hasURL={{{hasURL|}}}
Line 16: Line 16:
|hasGeography={{{hasGeography|}}}
|hasGeography={{{hasGeography|}}}
|hasHydrography={{{hasHydrography|}}}
|hasHydrography={{{hasHydrography|}}}
{{#cargo_declare:_table=Ecoregion_Level_1|=Page}}
}}
{{#cargo_declare:_table=Ecoregion_Level_1
|hasName=String
|hasName=String
|hasURL=URL
|hasURL=URL
Line 30: Line 31:
|hasChildEcoregion=List (,) of Page
|hasChildEcoregion=List (,) of Page
|hasFootprint=Page
|hasFootprint=Page
|hasGeography=Page
|hasGeography=List (,) of Page
|hasHydrography=List (,) of Page
|hasHydrography=List (,) of Page
}}
</noinclude><includeonly>
{{#cargo_store:_table=Ecoregion_Level_1
|hasName={{{hasName|}}}
|hasURL={{{hasURL|}}}
|hasID={{{hasID|}}}
|hasEcoregionID={{{hasEcoregionID|}}}
|hasLevel={{{hasLevel|}}}
|hasDescription={{{hasDescription|}}}
|hasBiologicalSetting={{{hasBiologicalSetting|}}}
|hasPhysicalSetting={{{hasPhysicalSetting|}}}
|hasClimate={{{hasClimate|}}}
|isSubregionOf={{{isSubregionOf|}}}
|hasSubregion={{{hasSubregion|}}}
|hasChildEcoregion={{{hasChildEcoregion|}}}
|hasFootprint={{{hasFootprint|}}}
|hasGeography={{{hasGeography|}}}
|hasHydrography={{{hasHydrography|}}}
}}
{{#vardefine:footprint|{{{hasFootprint}}}}}
{{#display_map:center={{#var:footprint}}|geojson={{#var:footprint}}|defzoom=20}}
<!---- 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|}}}
      | {{{hasEcoregionID}}} - {{{hasName}}}
      |-
      ! Region
      |-
      | {{#invoke:TrimArray|links|{{{isSubregionOf|}}}|form=Region}}
      |-
      ! Child Ecoregions
      |-
      | {{#invoke:TrimArray|links|{{{hasChildEcoregion|}}}|form=Ecoregion_Level_2}}
      |-
      ! 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}}}
      </div>
</div>


</noinclude><includeonly>{{#cargo_store:_table=Ecoregion_Level_1}}
{{#template_display:_format=table}}
[[Category:Ecoregion Level 1]]
[[Category:Ecoregion Level 1]]
[[Category:Ecoregions]]
</includeonly>
</includeonly>

Latest revision as of 06:06, 5 November 2025

This is the "Ecoregion Level 1" template.

It should be called in the following format:

{{Ecoregion Level 1
|hasName==
|hasURL==
|hasID==
|hasEcoregionID==
|hasLevel==
|hasDescription==
|hasBiologicalSetting==
|hasPhysicalSetting==
|hasClimate==
|isSubregionOf==
|hasSubregion==
|hasChildEcoregion==
|hasFootprint==
|hasGeography==
|hasHydrography==
}}

Edit the page to see the template text.

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