Template:Ecosystem: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 83: | Line 83: | ||
{{#vardefine:footprint|{{{hasFootprint}}} }} | {{#vardefine:footprint|{{{hasFootprint}}} }} | ||
{{#vardefine:parent={{{hasParentEcoregion}}} }} | {{#vardefine:parent={{{hasParentEcoregion|}}} }} | ||
{{#vardefine:grandparent|{{#cargo_query:tables=Ecoregion_Level_4|fields=hasParentEcoregion|where=_pageName='{{#var:parent}}' }} }} | {{#vardefine:grandparent|{{#cargo_query:tables=Ecoregion_Level_4|fields=hasParentEcoregion|where=_pageName='{{#var:parent}}' }} }} | ||
| Line 95: | Line 95: | ||
{{#cargo_query: | {{#cargo_query: | ||
|tables=Ecoregion_Level_4,Ecoregion_Level_3 | | tables=Ecoregion_Level_4, Ecoregion_Level_3 | ||
|join on=Ecoregion_Level_4.hasParentEcoregion=Ecoregion_Level_3._pageName | | join on=Ecoregion_Level_4.hasParentEcoregion=Ecoregion_Level_3._pageName | ||
|fields=Ecoregion_Level_3.hasParentEcoregion | | fields=Ecoregion_Level_3.hasParentEcoregion | ||
|where=Ecoregion_Level_4._pageName='{{#var:parent}}' | | where=Ecoregion_Level_4._pageName='{{#var:parent}}' | ||
}} | }} | ||
Revision as of 16:09, 23 November 2025
This is the "Ecosystem" template.
It should be called in the following format:
{{Ecosystem
|hasName==
|hasAlias==
|hasID==
|hasURL==
|hasEcosystemType==
|hasParentEcoregion==
|adjoinsEcosystem==
|hasComponent==
|hasSpecies==
|hasDescription==
|hasClimate==
|hasSoils==
|hasRangeDescription==
|hasGeology==
|surroundsMine==
|surroundsOperation==
|hasPopulation==
|hasGeography==
|hasFootprint==
|providesResource==
|supportsCommunity==
|impacts==
|impactedBy==
}}
Edit the page to see the template text.
This template defines the table "Ecosystem". View table.