Actions

Template

BuildingPage: Difference between revisions

From Dune Awakening DB

mNo edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 65: Line 65:
         <div class="dune-card-inner">
         <div class="dune-card-inner">
           <div class="dune-card-label">CRAFTING</div>
           <div class="dune-card-label">CRAFTING</div>
           <div class="dune-card-title"><span class="icon">&#9883;</span> Refining Recipes</div>
           <div class="dune-card-title"><span class="icon">&#9883;</span> Crafting Recipes</div>
           <div style="padding:3px;"></div>
           <div style="padding:3px;"></div>
           <div class="dune-card-description">Below is a list of possible outputs, required inputs, and the time to refine.</div>
           <div class="dune-card-description">Below is a list of possible outputs, required inputs, and the time to refine.</div>
         
           <!-- Refining Recipes (one row per recipe) -->
           <!-- Refining Recipes -->
          <div class="dune-card-infobox-left">
<includeonly><!-- Template:StationRecipes -->
{{#get_external_data:
{{#get_external_data:
   source = externaldb
   source = externaldb
   |from  = data_recipes
   |from  = vw_recipe_summary
          LEFT JOIN data_recipe_stations
   |data  = Output   = output_item,
            ON data_recipe_stations.recipe_id = data_recipes.id
           Resources = resources,
   |data  = Output = primary_output_label,   <!-- alias matches {{{Output}}} -->
           Time      = craft_time
           Time  = crafting_time_s,         <!-- alias matches {{{Time}}}  -->
   |where = station = '{{PAGENAME}}'       <!-- e.g. Small Ore Refinery -->
           Recipe = recipe_json              <!-- alias matches {{{Recipe}}} -->
   |order by = output_item
   |where = data_recipe_stations.station_name = '{{PAGENAME}}'   <!-- quoted -->
   |order by = primary_output_label
   |cache = yes
   |cache = yes
}}
}}
</includeonly>
<div class="dune-table-wrapper" style="overflow-x:auto;">
            <div class="dune-table-wrapper" style="overflow-x: auto;">
<table class="infobox-dune-standard-table">
              <table class="infobox-dune-standard-table">
  <tr class="tr-dark">
                <tr class="tr-dark">
    <th style="text-align:left; width:30%;">Output</th>
                  <th style="text-align:left; width:30%;">Output</th>
    <th style="text-align:left; width:50%;">Recipe</th>
                  <th style="text-align:left; width:50%;">Recipe</th>
    <th style="text-align:left; width:20%;">Craft Time</th>
                  <th style="text-align:left; width:20%;">Craft Time</th>
  </tr>
                </tr>
{{#for_external_table:|
                {{#for_external_table:|
  <tr><td style="text-align:left;">{{#invoke:DataTableParserV2|iconize|1={{{Output}}}}}</td>
                  <tr>
    <td style="text-align:left;">{{#invoke:DataTableParserV2|iconize|{{#invoke:DataTableParserV2|formatRecipeList|1={{{Resources}}}}}}}
                    <td style="text-align:left;">{{#invoke:DataTableParserV2|iconize|1={{{Output}}}}}</td>
    </td><td style="text-align:left;">{{{Time}}} s</td></tr>}}
                    <td style="text-align:left;">{{#invoke:DataTableParserV2|formatRecipeList|1={{{Recipe}}}}}</td>
</table>
                    <td style="text-align:left;">{{{Time}}}</td>
</div>
                  </tr>
                }}
              </table>
            </div>
          </div>
            
            
           <div style="clear:both; padding:10px;"></div>
           <div style="clear:both; padding:10px;"></div>

Latest revision as of 22:46, 2 June 2025


Menu/[[{{{Category1}}}|{{{Category1}}}]]/[[{{{Category2}}}|{{{Category2}}}]]/[[{{{Category3}}}|{{{Category3}}}]]/BuildingPage
SCHEMATIC – BUILDABLE
🛈 Building Information
[[File:{{{ImageFile}}}|200px|alt={{{Name}}}]]
{{{Description}}}
🔒Locked Behind
{{{JourneyRequirement}}}
Building Type{{{BuildingType}}}
Health{{{Health}}}
Power Cost{{{PowerCost}}}
Inventory Slots{{{StorageSlots}}}
Capacity{{{StorageCapacity}}}
Recipe{{{RecipeToBuild}}}
Placed With{{{PlacedWith}}}
CRAFTING
Crafting Recipes
Below is a list of possible outputs, required inputs, and the time to refine.
Output Recipe Craft Time
🏗 Other {{{Category3}}}
Explore similar building types to expand your base capabilities.
Name Tier Description
VIDEO TUTORIALS
Building Guide
Notes
{{{AdditionalNotes}}}