Template:Structure: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<infobox>
<div class="fandom-infobox structure-infobox">
  <title source="name">
     <div class="pi-header">{{{name|{{PAGENAME}}}}}</div>
     <default>{{PAGENAME}}</default>
   
  </title>
    {{#if:{{{image|}}}|
    <div class="pi-image">
        [[File:{{{image}}}|300px]]
        {{#if:{{{caption|}}}|<div class="pi-caption">{{{caption}}}</div>}}
    </div>
    }}


     <table class="pi-data">
  <panel>
        {{#if:{{{type|}}}|
     <section>
        <tr>
      <label source="label1">View 1</label>
            <th class="pi-label">Type</th>
      <image source="image1"></image>
            <td class="pi-value">{{{type}}}</td>
    </section>
        </tr>
    <section>
        }}
      <label source="label2">View 2</label>
        {{#if:{{{biome|}}}|
      <image source="image2"></image>
        <tr>
    </section>
            <th class="pi-label">Biome</th>
    <section>
            <td class="pi-value">{{{biome}}}</td>
      <label source="label3">View 3</label>
        </tr>
      <image source="image3"></image>
        }}
    </section>
        {{#if:{{{materials|}}}|
    <section>
        <tr>
      <label source="label4">View 4</label>
            <th class="pi-label">Materials</th>
      <image source="image4"></image>
            <td class="pi-value">{{{materials}}}</td>
    </section>
        </tr>
    <section>
        }}
      <label source="label5">View 5</label>
        {{#if:{{{generation|}}}|
      <image source="image5"></image>
        <tr>
    </section>
            <th class="pi-label">Generation</th>
  </panel>
            <td class="pi-value">{{{generation}}}</td>
 
        </tr>
  <group>
        }}
    <header>General Information</header>
     </table>
    <data source="biomes">
</div>
      <label>Biomes</label>
</includeonly>
    </data>
    <data source="existing_chunks">
      <label>Can generate in existing chunks?</label>
     </data>
  </group>
</infobox>

Latest revision as of 22:53, 25 April 2026