Actions

Template

JourneyMaterials: Difference between revisions

From Dune Awakening DB

mNo edit summary
mNo edit summary
Line 24: Line 24:
     {{#for_external_table:|
     {{#for_external_table:|
       {{#ifeq:{{{Level}}}|1|
       {{#ifeq:{{{Level}}}|1|
<div class="material-card" data-item="{{{InternalName}}}" data-level="1"><div class="material-checkbox-wrapper"><span class="material-checkbox" data-qty="{{{TotalQty}}}"></span></div><div class="material-content"><span class="material-icon">{{#ifexist:File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|[[File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|20px|link=]]|}}</span><span class="material-name">{{{ItemLabel}}}</span><span class="material-qty">{{{TotalQty}}}</span></div><div class="material-children-indicator"></div></div>
<div class="material-card" data-item="{{{InternalName}}}" data-level="1">
  <div class="material-checkbox-wrapper">
    {{#tag:input||type=checkbox|class=material-checkbox|id=mat-{{{InternalName}}}|data-qty={{{TotalQty}}}}}
    <label for="mat-{{{InternalName}}}"></label>
  </div>
  <div class="material-content">
    <span class="material-icon">{{#ifexist:File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|[[File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|20px|link=]]|}}</span>
    <span class="material-name">{{{ItemLabel}}}</span>
    <span class="material-qty">{{{TotalQty}}}</span>
  </div>
  <div class="material-children-indicator"></div>
</div>
       |}}
       |}}
     }}
     }}
Line 36: Line 47:
     {{#for_external_table:|
     {{#for_external_table:|
       {{#ifeq:{{{Level}}}|2|
       {{#ifeq:{{{Level}}}|2|
<div class="material-card" data-item="{{{InternalName}}}" data-level="2"><div class="material-checkbox-wrapper"><span class="material-checkbox" data-qty="{{{TotalQty}}}"></span></div><div class="material-content"><span class="material-icon">{{#ifexist:File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|[[File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|20px|link=]]|}}</span><span class="material-name">{{{ItemLabel}}}</span><span class="material-qty">{{{TotalQty}}}</span></div><div class="material-children-indicator"></div></div>
<div class="material-card" data-item="{{{InternalName}}}" data-level="2">
  <div class="material-checkbox-wrapper">
    {{#tag:input||type=checkbox|class=material-checkbox|id=mat-{{{InternalName}}}|data-qty={{{TotalQty}}}}}
    <label for="mat-{{{InternalName}}}"></label>
  </div>
  <div class="material-content">
    <span class="material-icon">{{#ifexist:File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|[[File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|20px|link=]]|}}</span>
    <span class="material-name">{{{ItemLabel}}}</span>
    <span class="material-qty">{{{TotalQty}}}</span>
  </div>
  <div class="material-children-indicator"></div>
</div>
       |}}
       |}}
     }}
     }}
Line 48: Line 70:
     {{#for_external_table:|
     {{#for_external_table:|
       {{#ifeq:{{{Level}}}|3|
       {{#ifeq:{{{Level}}}|3|
<div class="material-card" data-item="{{{InternalName}}}" data-level="3"><div class="material-checkbox-wrapper"><span class="material-checkbox" data-qty="{{{TotalQty}}}"></span></div><div class="material-content"><span class="material-icon">{{#ifexist:File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|[[File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|20px|link=]]|}}</span><span class="material-name">{{{ItemLabel}}}</span><span class="material-qty">{{{TotalQty}}}</span></div></div>
<div class="material-card" data-item="{{{InternalName}}}" data-level="3">
  <div class="material-checkbox-wrapper">
    {{#tag:input||type=checkbox|class=material-checkbox|id=mat-{{{InternalName}}}|data-qty={{{TotalQty}}}}}
    <label for="mat-{{{InternalName}}}"></label>
  </div>
  <div class="material-content">
    <span class="material-icon">{{#ifexist:File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|[[File:{{#replace:{{{ItemLabel}}}{{!}} {{!}}_}}_-_Icon.png|20px|link=]]|}}</span>
    <span class="material-name">{{{ItemLabel}}}</span>
    <span class="material-qty">{{{TotalQty}}}</span>
  </div>
</div>
       |}}
       |}}
     }}
     }}
Line 55: Line 87:
  </div>
  </div>


  <!-- ▸ Quick Actions Footer -------------------------------------------- -->
  <!-- Footer removed as requested -->
<div class="materials-footer"><button class="check-all-btn">Check All</button><button class="uncheck-all-btn">Uncheck All</button><button class="toggle-view-btn" data-view="grid"><span class="icon">📋</span> List View</button></div>
</div>
</div>

Revision as of 00:22, 2 June 2025


0 / 0 Materials Ready

🎯Direct Requirements

   <input type="checkbox" class="material-checkbox" id="mat-BasicBuildingTool" data-qty="1"></input>
   <label for="mat-BasicBuildingTool"></label>
   
   Construction Tool
   1
   <input type="checkbox" class="material-checkbox" id="mat-Oil" data-qty="24"></input>
   <label for="mat-Oil"></label>
   
   Fuel Cell
   24
   <input type="checkbox" class="material-checkbox" id="mat-Generator_Placeable" data-qty="1"></input>
   <label for="mat-Generator_Placeable"></label>
   
   Fuel-Powered Generator
   1
   <input type="checkbox" class="material-checkbox" id="mat-Stone" data-qty="166"></input>
   <label for="mat-Stone"></label>
   
   Granite Stone
   166
   <input type="checkbox" class="material-checkbox" id="mat-ScrapMetal" data-qty="250"></input>
   <label for="mat-ScrapMetal"></label>
   
   Salvaged Metal
   250
   <input type="checkbox" class="material-checkbox" id="mat-SpiceSilo_Placeable" data-qty="1"></input>
   <label for="mat-SpiceSilo_Placeable"></label>
   
   Small Storage Container
   1
   <input type="checkbox" class="material-checkbox" id="mat-Totem_Small_Placeable" data-qty="1"></input>
   <label for="mat-Totem_Small_Placeable"></label>
   
   Sub-Fief Console
   1

⚙️Components








⛏️Base Resources