Jump to content

Template:Ecoregion Level 4: Difference between revisions

From PanEcoDevWiki
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 74: Line 74:
}}
}}


{{#display_map:center={{#var:footprint}}|geojson={{#var:footprint}}|defzoom=20}}


{{#vardefine:footprint|{{{hasFootprint}}} }}
{{#vardefine:footprint|{{{hasFootprint}}} }}
{{#vardefine:parent={{{hasParentEcoregion|}}}}}
{{#vardefine:parent|{{{hasParentEcoregion}}}}}
{{#display_map:center={{#var:footprint}}|geojson={{#var:footprint}}|defzoom=20}}
 
{{#vardefine:grandparent|{{#cargo_query:tables=Ecoregion_Level_3|fields=hasParentEcoregion|where=_pageName='{{#var:parent}}'}} }}




{{#vardefine:grandparent|{{#cargo_query:tables=Ecoregion_Level_2|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}}'}} }}


format=plain|limit=1}}
{{#var:parent}}
{{#var:grandparent}}
{{#var:grandparent}}
{{#var:greatgrandparent}}


<!---- Main Div ---->
<!---- Main Div ---->

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.