Template:Structure: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="fandom-infobox structure-infobox">
<infobox type="structure">
     <div class="pi-header">{{{name|{{PAGENAME}}}}}</div>
     <title source="name"><default>{{PAGENAME}}</default></title>
      
      
     {{#if:{{{image|}}}|
     <image source="image">
    <div class="pi-image">
         <caption source="caption" />
         [[File:{{{image}}}|300px]]
     </image>
        {{#if:{{{caption|}}}|<div class="pi-caption">{{{caption}}}</div>}}
     </div>
    }}


     <table class="pi-data">
     <group>
         {{#if:{{{type|}}}|
         <header>General Information</header>
        <tr>
        <data source="type">
            <th class="pi-label">Type</th>
             <label>Type</label>
             <td class="pi-value">{{{type}}}</td>
         </data>
         </tr>
         <data source="biome">
        }}
             <label>Biome</label>
        {{#if:{{{biome|}}}|
         </data>
         <tr>
         <data source="materials">
            <th class="pi-label">Biome</th>
             <label>Materials</label>
             <td class="pi-value">{{{biome}}}</td>
        </data>
         </tr>
    </group>
         }}
 
        {{#if:{{{materials|}}}|
    <group collapse="closed">
        <tr>
         <header>Technical Data</header>
             <th class="pi-label">Materials</th>
        <data source="generation">
            <td class="pi-value">{{{materials}}}</td>
             <label>Generation</label>
        </tr>
         </data>
        }}
     </group>
        {{#if:{{{generation|}}}|
</infobox>
         <tr>
            <th class="pi-label">Generation</th>
             <td class="pi-value">{{{generation}}}</td>
         </tr>
        }}
     </table>
</div>
</includeonly>
</includeonly>

Revision as of 22:40, 25 April 2026