Jump to content

Template:Mine: Difference between revisions

From PanEcoDevWiki
No edit summary
No edit summary
Line 67: Line 67:
}}
}}
<!-- Main Div -->
<!-- Main Div -->
{{#vardefine:footprint|{{#cargo_query:tables=Mine|fields=hasFootprint|where=_pageName="{{PAGENAME}}"}}}}
{{#vardefine:location|{{#cargo_query:tables=Mine|fields=hasLocation|where=_pageName="{{PAGENAME}}"}}}}


{{#display_map:center=ArcticCordillera | geojson=GeoJson:ArcticCordillera}}
{{#display_map:center=ArcticCordillera | geojson=GeoJson:ArcticCordillera}}
Line 120: Line 124:
     {{{hasDescription|}}}
     {{{hasDescription|}}}
     <h1>Community</h1>
     <h1>Community</h1>
   {{#display_map:geojson={{#cargo_query:tables=Mine|fields=hasFootprint|where=_pageName="{{PAGENAME}}"}}}}
   {{#display_map:center={{#var:location}}|geojson={{#var:footprint}}|{{#var:location}}}}
     {{#cargo_query:tables=Mine|fields=hasFootprint|where=_pageName="{{PAGENAME}}"}}
     {{#cargo_query:tables=Mine|fields=hasFootprint|where=_pageName="{{PAGENAME}}"}}
     </div>
     </div>

Revision as of 18:56, 30 October 2025

This is the "Mine" template.

It should be called in the following format:

{{Mine
|hasName==
|hasID==
|hasURL==
|hasAlias==
|hasMineStatus==
|hasInfrastructure==
|hasMineType==
|hasDescription==
|extracts==
|isOwnedBy==
|mines==
|hasFootprint==
|hasLocation==
|isWithinRegion==
|hasProject==
|isPartOfProject==
|isNearCommunity==
|producesWaste==
|isNearEcosystem==
|isWithinEcosystem==
}}

Edit the page to see the template text.

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