Actions

Template

BuildingPage: Difference between revisions

From Dune Awakening DB

mNo edit summary
mNo edit summary
Line 68: Line 68:
           <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 -->
{{#get_external_data:
          <div class="dune-card-infobox-left">
  source = externaldb
<includeonly><!-- Template:StationRecipes -->{{#get_external_data:source = externaldb
  |from = vw_recipe_summary
|from = data_recipes, data_recipe_stations
  |data  = Output   = output_item,
|join 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 -->
  |cache = yes
|order by = primary_output_label
}}
|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>
                  <tr>
    <td style="text-align:left;">
                    <td style="text-align:left;">{{#invoke:DataTableParserV2|iconize|1={{{Output}}}}}</td>
      {{#invoke:DataTableParserV2|iconize|1={{{Output}}}}}
                    <td style="text-align:left;">{{#invoke:DataTableParserV2|formatRecipeList|1={{{Recipe}}}}}</td>
    </td>
                    <td style="text-align:left;">{{{Time}}}</td>
    <td style="text-align:left;">
                  </tr>
      {{#invoke:DataTableParserV2|formatRecipeList|1={{{Resources}}}}}
                }}
      <!-- if you prefer a simple line-break list instead: -->
              </table>
      <!-- {{#replace:{{{Resources}}}|; |<br />}} -->
            </div>
    </td>
          </div>
    <td style="text-align:left;">{{{Time}}} s</td>
  </tr>
}}
</table>
</div>
            
            
           <div style="clear:both; padding:10px;"></div>
           <div style="clear:both; padding:10px;"></div>

Revision as of 02:28, 27 May 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
Refining 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}}}