Template:Ecoregion Level 2: Difference between revisions
Appearance
Created page with "<noinclude> {{#template_params:}} {{#cargo_declare:_table=Ecoregion_Level_2|=Page}} </noinclude><includeonly>{{#cargo_store:_table=Ecoregion_Level_2}} {{#template_display:_format=table}} Category:Ecoregion Level 2 </includeonly>" |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params:}} | {{#template_params: | ||
{{#cargo_declare:_table=Ecoregion_Level_2|=Page}} | |hasName={{{hasName|}}} | ||
</noinclude><includeonly>{{#cargo_store:_table=Ecoregion_Level_2}} | |hasURL={{{hasURL|}}} | ||
{{# | |hasID={{{hasID|}}} | ||
|hasEcoregionID={{{hasEcoregionID|}}} | |||
|hasLevel={{{hasLevel|}}} | |||
|hasDescription={{{hasDescription|}}} | |||
|hasBiologicalSetting={{{hasBiologicalSetting|}}} | |||
|hasPhysicalSetting={{{hasPhysicalSetting|}}} | |||
|hasClimate={{{hasClimate|}}} | |||
|isSubregionOf={{{isSubregionOf|}}} | |||
|hasSubregion={{{hasSubregion|}}} | |||
|hasParentEcoregion={{{hasParentEcoregion|}}} | |||
|hasChildEcoregion={{{hasChildEcoregion|}}} | |||
|hasFootprint={{{hasFootprint|}}} | |||
|hasGeography={{{hasGeography|}}} | |||
|hasHydrography={{{hasHydrography|}}} | |||
}} | |||
{{#cargo_declare:_table=Ecoregion_Level_2 | |||
|hasName=String | |||
|hasURL=URL | |||
|hasID=String | |||
|hasEcoregionID=String | |||
|hasLevel=Integer | |||
|hasDescription=Text | |||
|hasBiologicalSetting=Text | |||
|hasPhysicalSetting=Text | |||
|hasClimate=Text | |||
|isSubregionOf=List (,) of Page | |||
|hasSubregion=List (,) of Page | |||
|hasParentEcoregion=Page | |||
|hasChildEcoregion=List (,) of Page | |||
|hasFootprint=Page | |||
|hasGeography=List (,) of Page | |||
|hasHydrography=List (,) of Page | |||
}} | |||
</noinclude><includeonly> | |||
{{#cargo_store:_table=Ecoregion_Level_2 | |||
|hasName={{{hasName|}}} | |||
|hasURL={{{hasURL|}}} | |||
|hasID={{{hasID|}}} | |||
|hasEcoregionID={{{hasEcoregionID|}}} | |||
|hasLevel={{{hasLevel|}}} | |||
|hasDescription={{{hasDescription|}}} | |||
|hasBiologicalSetting={{{hasBiologicalSetting|}}} | |||
|hasPhysicalSetting={{{hasPhysicalSetting|}}} | |||
|hasClimate={{{hasClimate|}}} | |||
|isSubregionOf={{{isSubregionOf|}}} | |||
|hasSubregion={{{hasSubregion|}}} | |||
|hasParentEcoregion={{{hasParentEcoregion|}}} | |||
|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|}}} | |||
| colspan=2 | {{{hasEcoregionID}}} - {{{hasName}}} | |||
|- | |||
! colspan=2 | Region | |||
|- | |||
| {{#invoke:TrimArray|links|{{{isSubregionOf|}}}|form=Region}} | |||
|- | |||
! colspan=2 | Parent Ecoregions | |||
|- | |||
| {{#invoke:TrimArray|links|{{{hasParentEcoregion|}}}|form=Ecoregion_Level_1}} | |||
|- | |||
! colspan =2 | Child Ecoregions | |||
|- | |||
| {{#invoke:TrimArray|links|{{{hasChildEcoregion|}}}|form=Ecoregion_Level_3}} | |||
|- | |||
! 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 2]] | [[Category:Ecoregion Level 2]] | ||
[[Category:Ecoregions]] | |||
</includeonly> | </includeonly> | ||
Latest revision as of 06:05, 5 November 2025
This is the "Ecoregion Level 2" template.
It should be called in the following format:
{{Ecoregion Level 2
|hasName==
|hasURL==
|hasID==
|hasEcoregionID==
|hasLevel==
|hasDescription==
|hasBiologicalSetting==
|hasPhysicalSetting==
|hasClimate==
|isSubregionOf==
|hasSubregion==
|hasParentEcoregion==
|hasChildEcoregion==
|hasFootprint==
|hasGeography==
|hasHydrography==
}}
Edit the page to see the template text.
This template defines the table "Ecoregion_Level_2". View table.