Jump to content

Template:Mine: Difference between revisions

From PanEcoDevWiki
Created page with "<noinclude> {{#template_params:}} {{#cargo_declare:_table=Min|=Page}} </noinclude><includeonly>{{#cargo_store:_table=Min}} {{#template_display:_format=table}} Category:Mines </includeonly>"
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>{{#template_params:
{{#template_params:}}
|hasName={{{Name|}}}
{{#cargo_declare:_table=Min|=Page}}
|hasID={{{ID|}}}
</noinclude><includeonly>{{#cargo_store:_table=Min}}
|hasURL={{{URL|}}}
{{#template_display:_format=table}}
|hasAlias={{{Alias|}}}
[[Category:Mines]]
|hasMineStatus={{{Status|}}}
|hasMineType={{{Type|}}}
|hasDescription={{{Description|}}}
|extracts={{{Mineral|}}}
|isOwnedBy={{{Owner|}}}
|mines={{{Deposit|}}}
|hasFootprint={{{Footprint|}}}
|hasLocation={{{Location|}}}
|isWithin={{{Region|}}}
|hasProject={{{Project|}}}
|isPartof={{{Project|}}}
|isNear={{{Community|}}}
|produces={{{Waste|}}}
|isNear={{{Ecosystem|}}}
|isWithin={{{Ecosystem|}}}
}}
{{#cargo_declare:_table=Mine_test
|hasName=String
|hasID=String
|hasURL=URL
|hasAlias=List (,) of String
|hasMineStatus=String
|hasMineType=String
|hasDescription=Text
|extracts=List (,) of Page
|isOwnedBy=List (,) of Page
|mines=List (,) of Page
|hasFootprint=Page
|hasLocation=Page
|isWithin=List (,) of Page
|hasProject=List (,) of Page
|isPartof=List (,) of Page
|isNear=List (,) of Page
|produces=List (,) Page
|isNear=List (,) of Page
|isWithin=List (,) of Page
}}</noinclude>
<includeonly>
{{#cargo_store:_table=Mine_test
|hasName={{{Name|}}}
|hasID={{{ID|}}}
|hasURL={{{URL|}}}
|hasAlias={{{Alias|}}}
|hasMineStatus={{{Status|}}}
|hasMineType={{{Type|}}}
|hasDescription={{{Description|}}}
|extracts={{{Mineral|}}}
|isOwnedBy={{{Owner|}}}
|mines={{{Deposit|}}}
|hasFootprint={{{Footprint|}}}
|hasLocation={{{Location|}}}
|isWithin={{{Region|}}}
|hasProject={{{Project|}}}
|isPartof={{{Project|}}}
|isNear={{{Community|}}}
|produces={{{Waste|}}}
|isNear={{{Ecosystem|}}}
|isWithin={{{Ecosystem|}}}
}}
<!-- Main Div -->
<div style="overflow: hidden;">
<!-- Right column: Mine Information table -->
    <div style="float: right; width: 25%; margin-left: 20px;">
    <h1>Mine Information</h1> 
    <div>
      {| class="wikitable"
      ! Name
      | {{{Name|}}}
      |-
      ! Minerals
      | {{{Minerals|}}}
      |-
      ! Owners
      | {{{Owners|}}}
      |-
      ! Value1
      | {{{Value1|}}}
      |-
      ! Value2
      | {{{Value2|}}}
      |-
      ! Value3
      | {{{Value3|}}}
      |-
      ! Value4
      | {{{Value4|}}}
      |-
      ! Value5
      | {{{Value5|}}}
      |-
      ! Value6
      | {{{Value6|}}}
      |-
      ! Value7
      | {{{Value7|}}}
      |-
      ! Value8
      | {{{Value8|}}}
      |-
      ! ValueChangedinTemplate
      | {{{Value9|}}}
      |}
    </div>
  </div>
  <div style="max width: 100%;">
    <h1>Description</h1>
    {{{Description|}}}
    <h1>Community</h1>
    {{{Community_Setting|}}}
    </div>
</div>
 
 
 
[[Category:Mine test pages]]
</includeonly>
</includeonly>

Revision as of 01:04, 28 October 2025

This is the "Mine" template.

It should be called in the following format:

{{Mine
|hasName==
|hasID==
|hasURL==
|hasAlias==
|hasMineStatus==
|hasMineType==
|hasDescription==
|extracts==
|isOwnedBy==
|mines==
|hasFootprint==
|hasLocation==
|isWithin==
|hasProject==
|isPartof==
|isNear==
|produces==
}}

Edit the page to see the template text.

Error: could not parse type for field "produces".