Jump to content

Template:Mine test: Difference between revisions

From PanEcoDevWiki
No edit summary
No edit summary
Line 55: Line 55:
<h1>DESCRIPTION</h1>
<h1>DESCRIPTION</h1>


<div>
<div style="overflow: hidden;"> <!-- container for both columns -->
{{#cargo_query:tables=Mine_test
|fields=Description
|where=Mine_test._pageName='{{{Name}}}'
}}
</div>
</div>


<div style="float: right; width: 25%">
  <!-- Left column: Description + Community -->
<h1 style="text-align: right;"> Mine Information</h1>
  <div style="float: left; width: 70%; margin-right: 15px;">
<div style= "float: right;">
    <h1>Description</h1>
{| class="wikitable"
    <div>
! Name
      {{#cargo_query:tables=Mine_test
| {{{Name|}}}
        |fields=Description
|-
        |where=Mine_test._pageName='{{{Name}}}'
! Minerals
      }}
| {{{Minerals|}}}
    </div>
|-
! 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>
    <h1>Community</h1>
    <div>
      {{#cargo_query:tables=Mine_test
        |fields=Community Setting
        |where=Mine_test._pageName='{{{Name}}}'
      }}
    </div>
  </div>
 
<!-- Right column: Mine Information table -->
  <div style="float: right; width: 25%;">
    <h1 style="text-align: right;">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|}}}
      |-
      ! Value9
      | {{{Value9|}}}
      |}
    </div>
  </div>


{{#cargo_query:tables=Mine_test
|fields=Community Setting
|where=Mine_test._pageName='{{{Name}}}'
}}




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

Revision as of 01:47, 21 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==
|Value9==
}}

Edit the page to see the template text.

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