Jump to content

Template:Mineral: Difference between revisions

From PanEcoDevWiki
Created page with "<noinclude> This is the "Mineral" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page. {{#forminput:form=Mineral}} </noinclude><includeonly> <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> {{{for template|Mineral}}} {| class="formtable" ! hasID: | {{{field|hasID}}} |- ! hasCrystalineStructure:..."
 
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Mineral" form.
{{#template_params:
To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.
|hasID={{{hasID|}}}
{{#forminput:form=Mineral}}
|hasCrystalineStructure={{{hasCrystalineStructure|}}}
|hasAlias={{{hasAlias|}}}
|hasDescription={{{hasDescription|}}}
|hasLocation={{{hasLocation|}}}
|hasChemicalFormula={{{hasChemicalFormula|}}}
|hasURL={{{hasURL|}}}
|hasName={{{hasName|}}}
|hasProperties={{{hasProperties|}}}
|mineralIn={{{mineralIn|}}}
|composedOf={{{composedOf|}}}
|materialFor={{{materialFor|}}}
|partOf={{{partOf|}}}
|hasGeography={{{hasGeography|}}}
|hasFootprint={{{hasFootprint|}}}
|extractedBy={{{extractedBy|}}}
}}
{{#cargo_declare:_table=Mineral
|hasID=String
|hasCrystalineStructure=Text
|hasAlias=List (,) of String
|hasDescription=Text
|hasLocation=Coordinate
|hasChemicalFormula=String
|hasURL=URL
|hasName=String
|hasProperties=Text
|mineralIn=List (,) of Page
|composedOf=List (,) of Page
|materialFor=List (,) of Page
|partOf=List (,) of Page
|hasGeography=List (,) of Page
|hasFootprint=Page
|extractedBy=List (,) of Page
}}
</noinclude><includeonly>
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{#cargo_store:
{{{for template|Mineral}}}
|hasID={{{hasID|}}}
{| class="formtable"
|hasCrystalineStructure={{{hasCrystalineStructure|}}}
! hasID:
|hasAlias={{{hasAlias|}}}
| {{{field|hasID}}}
|hasDescription={{{hasDescription|}}}
|-
|hasLocation={{{hasLocation|}}}
! hasCrystalineStructure:
|hasChemicalFormula={{{hasChemicalFormula|}}}
| {{{field|hasCrystalineStructure}}}
|hasURL={{{hasURL|}}}
|-
|hasName={{{hasName|}}}
! hasAlias:
|hasProperties={{{hasProperties|}}}
| {{{field|hasAlias}}}
|mineralIn={{{mineralIn|}}}
|-
|composedOf={{{composedOf|}}}
! hasDescription:
|materialFor={{{materialFor|}}}
| {{{field|hasDescription}}}
|partOf={{{partOf|}}}
|-
|hasGeography={{{hasGeography|}}}
! hasLocation:
|hasFootprint={{{hasFootprint|}}}
| {{{field|hasLocation}}}
|extractedBy={{{extractedBy|}}}
|-
}}
! hasChemicalFormula:
[[Category:Minerals]]
| {{{field|hasChemicalFormula}}}
{{#invoke:Cats|addCats
|-
}}
! hasURL:
| {{{field|hasURL}}}
|-
! hasName:
| {{{field|hasName}}}
|-
! hasProperties:
| {{{field|hasProperties}}}
|-
! mineralIn:
| {{{field|mineralIn}}}
|-
! composedOf:
| {{{field|composedOf}}}
|-
! materialFor:
| {{{field|materialFor}}}
|-
! partOf:
| {{{field|partOf}}}
|-
! hasGeography:
| {{{field|hasGeography}}}
|-
! hasFootprint:
| {{{field|hasFootprint}}}
|-
! extractedBy:
| {{{field|extractedBy}}}
|}
{{{end template}}}
'''Free text:'''
{{{standard input|free text|rows=10}}}
</includeonly>
</includeonly>

Latest revision as of 01:56, 11 December 2025

This is the "Mineral" template.

It should be called in the following format:

{{Mineral
|hasID==
|hasCrystalineStructure==
|hasAlias==
|hasDescription==
|hasLocation==
|hasChemicalFormula==
|hasURL==
|hasName==
|hasProperties==
|mineralIn==
|composedOf==
|materialFor==
|partOf==
|hasGeography==
|hasFootprint==
|extractedBy==
}}

Edit the page to see the template text.

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