Jump to content

Template:Mine test: Difference between revisions

From PanEcoDevWiki
No edit summary
No edit summary
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{#template_params:
{{#template_params:
|Name={{{Name|}}}
|Name={{{Name|}}}
|Minerals={{{Minerals|}}}
|Minerals={{{Minerals|}}}
Line 13: Line 12:
|Value7={{{Value7|}}}
|Value7={{{Value7|}}}
|Value8={{{Value8|}}}
|Value8={{{Value8|}}}
|Value9={{{Value9|}}}
|ValueChangedinTemplateParams={{{Value9|}}}
 
|Community_Setting={{{Community_Setting|}}}
 
}}
}}
{{#cargo_declare:_table=Mine_test
{{#cargo_declare:_table=Mine_test
|Name=String
|Name=String
Line 32: Line 29:
|Value8=Integer
|Value8=Integer
|Value9=Integer
|Value9=Integer
}}
|Community_Setting=Text
</noinclude>
}}</noinclude>
 
<includeonly>
<includeonly>
{{#cargo_store:_table=Mine_test
{{#cargo_store:_table=Mine_test
Line 50: Line 46:
|Value8={{{Value8|}}}
|Value8={{{Value8|}}}
|Value9={{{Value9|}}}
|Value9={{{Value9|}}}
|Community_Setting={{{Community_Setting|}}}
}}
}}
 
<!-- Main Div -->
<div style="float: left; width: 70%; margin-right: 15px;">
<div style="overflow: hidden;">
<h1>DESCRIPTION</h1>
<!-- Right column: Mine Information table -->
 
    <div style="float: right; width: 25%; margin-left: 20px;">
<div>
    <h1>Mine Information</h1>
{{#cargo_query:tables=Mine_test
    <div>
|fields=Description  
      {| class="wikitable"
|where=Mine_test._pageName='{{{Name}}}'
      ! Name
}}
      | {{{Name|}}}
</div>
      |-
      ! 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>
</div>


<div style="float: right; width: 25%">
<h1 style="text-align: right;"> Mine Information</h1>
<div style= "float: right;">
{| class="wikitable"
! Name
| {{{Name|}}}
|-
! Minerals
| {{{Minerals|}}}
|-
! Owners
| {{{Owners|}}}
|-
! Value1
| {{{Value1|}}}
|-
! Value2
| {{{Value2|}}}
|-
! Value3
| {{{Value3|}}}
|-
! Value4
| {{{Value4|}}}
|-
! Value5
| {{{Value5|}}}
|-
! Value6
| {{{Value6|}}}
|-
! Value7
| {{{Value7|}}}
|-
! Value8
| {{{Value8|}}}
|-
! Value9
| {{{Value9|}}}
|}
</div>
</div>
<h1>Community</h1>
{{#cargo_query:tables=Mine_test
|fields=Community Setting
|where=Mine_test._pageName='{{{Name}}}'
}}




[[Category:Mine test pages]]
[[Category:Mine test pages]]
</includeonly>
</includeonly>

Latest revision as of 00:10, 28 October 2025

This is the "Mine test" template.

It should be called in the following format:

{{Mine test
|Name==
|Minerals==
|Owners==
|Description==
|Value1==
|Value2==
|Value3==
|Value4==
|Value5==
|Value6==
|Value7==
|Value8==
|ValueChangedinTemplateParams==
|Community_Setting==
}}

Edit the page to see the template text.

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