Actions

Template

BuildingRefinerDisplayV2: Difference between revisions

From Dune Awakening DB

mNo edit summary
mNo edit summary
Line 4: Line 4:
{{#get_external_data: source=externaldb
{{#get_external_data: source=externaldb
  |from=data_buildings
  |from=data_buildings
  |data=name=Name,tier=Tier,description=Description,journey_requirement=JourneyRequirement,health=Health,power_cost=PowerCost,generates_power=GeneratesPower,storage_slots=StorageSlots,storage_volume=StorageVolume,recipe_to_build=RecipeToBuild,placed_with=PlacedWith,image_file=ImageFile,additional_notes=AdditionalNotes,youtube_url=YoutubeURL,category1=Category1,category2=Category2,category3=Category3
  |data=Name=name,Tier=building_type,Description=description,PowerCost=power_cost,GeneratesPower=generates_power,StorageSlots=storage_slots,StorageVolume=storage_capacity,JourneyRequirement=journey_requirement,Health=health,PlacedWith=placed_with,AdditionalNotes=additional_notes,RecipeToBuild=recipe_to_build,ImageFile=image_file,Category1=category_1,Category2=category_2,Category3=category_3,YoutubeURL=youtube_video_link
  |cache=yes
  |cache=yes
  |filter=Name={{PAGENAME}}
  |filter=Name={{PAGENAME}}
}}
}}
<!-- Process the externaldata output and assign parameters.
    (This step assumes the externaldata call returns only the matching row.)
    If you need additional filtering logic, consider wrapping the #for_external_table call. -->


{{#for_external_table:|
{{#for_external_table:|
Line 35: Line 31:


<div class="responsive-container">
<div class="responsive-container">
   <div class="responsive-col col1">
   <div class="responsive-col col1">
     <div class="skin-pivot">
     <div class="skin-pivot">
Line 42: Line 37:
         <div class="dune-card-inner">
         <div class="dune-card-inner">
           <div class="dune-card-label">SCHEMATIC – BUILDABLE</div>
           <div class="dune-card-label">SCHEMATIC – BUILDABLE</div>
           <div class="dune-card-title"><span class="icon">&#x1F6C8;</span> {{{Name}}}</div>
           <div class="dune-card-title">
            <span class="icon">&#x1F6C8;</span> {{{Name}}}
          </div>
           <div class="dune-card-image">
           <div class="dune-card-image">
             [[File:{{{ImageFile}}}|200px|alt={{{Name}}}|style:max-width:100%;max-height:150px;object-fit:contain;border:2px solid #e2d3ae;border-radius:4px;padding:2px;background-color:#262626;]]
             [[File:{{{ImageFile}}}|200px|alt={{{Name}}}|style:max-width:100%;max-height:150px;object-fit:contain;border:2px solid #e2d3ae;border-radius:4px;padding:2px;background-color:#262626;]]
Line 101: Line 98:
         <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> Refining Recipes
          </div>
           <div class="dune-card-description">
           <div class="dune-card-description">
             Below is a list of possible outputs, required inputs, and the time to refine. Times or power usage might vary based on external modifiers (e.g., upgrades).
             Below is a list of possible outputs, required inputs, and the time to refine. Times or power usage might vary based on external modifiers (e.g., upgrades).
Line 109: Line 108:
             {{#get_external_data: source=externaldb
             {{#get_external_data: source=externaldb
             |from=data_refining_recipes
             |from=data_refining_recipes
             |data=refiner=Refiner,output=Output,ingredients=Ingredients,time=Time,recipe=Recipe
             |data=Refiner=Refiner,Output=Output,Ingredients=Ingredients,Time=Time,Recipe=Recipe
             |cache=yes
             |cache=yes
             |filter=Refiner={{{Name}}}
             |filter=Refiner={{{Name}}}
Line 131: Line 130:
         <div class="dune-card-inner">
         <div class="dune-card-inner">
           <div class="dune-card-label">Additional Information</div>
           <div class="dune-card-label">Additional Information</div>
           <div class="dune-card-title"><span class="icon">&#8801;</span> Notes</div>
           <div class="dune-card-title">
            <span class="icon">&#8801;</span> Notes
          </div>
           <div class="dune-card-description">{{{AdditionalNotes}}}</div>
           <div class="dune-card-description">{{{AdditionalNotes}}}</div>
         </div>
         </div>
Line 170: Line 171:
             {{#get_external_data: source=externaldb
             {{#get_external_data: source=externaldb
             |from=data_buildings
             |from=data_buildings
             |data=name=Name,tier=Tier,description=Description,image_file=ImageFile,category3=Category3
             |data=Name=name,Tier=building_type,Description=description,ImageFile=image_file,Category3=category_3
             |cache=yes
             |cache=yes
             |filter=Category3={{{Category3}}}
             |filter=Category3={{{Category3}}}

Revision as of 22:02, 25 March 2025



|- | Sub-fief Console | Functional | | | 15 | | | | | Salvaged Metal x 25 | Contruction Tool | | | https://www.youtube.com/watch?v=plw2gxf7Coc | Base Building | Placeables | Utilities

|- | Small Ore Refinery | Functional | Processes raw Copper Ore, Carbon Ore, and Iron Ore into Refined Resource. Can also create Steel Ingots from Iron and Carbon. | Journey: Echoes of the Past | 15 | 5 | 200 | | | Salvaged Metal x 90 | Contruction Tool | Small_Ore_Refinery_-_Full.png | | https://www.youtube.com/watch?v=plw2gxf7Coc | Base Building | Placeables | Refineries

|- | Small Storage Container | Functional | | | 5 | | | | 250 | Salvaged Metal x 35 | Contruction Tool | | | https://www.youtube.com/watch?v=plw2gxf7Coc | Base Building | Placeables | Storage

|- | Fuel-Powered Generator | Functional | | | 7 | 5 | | | | Salvaged Metal x 45 | Contruction Tool | | | https://www.youtube.com/watch?v=plw2gxf7Coc | Base Building | Placeables | Utilities

|- | Fabricator | Functional | A fabrication unit capable of producitng complex items. Place close to a Sub-fief Console with the Construction Tool. Requires power from a base power generator to operate. | | 10 | 10 | 200 | | | Salvaged Metal x 75 | Contruction Tool | | | https://www.youtube.com/watch?v=plw2gxf7Coc | Base Building | Placeables | Crafting

|- | Blood Purifier | Functional | | | 10 | | | | | Salvaged Metal x 70 | Contruction Tool | | | https://www.youtube.com/watch?v=plw2gxf7Coc | Base Building | Placeables | Crafting


SCHEMATIC – BUILDABLE
           🛈 {{{Name}}}
           [[File:{{{ImageFile}}}|200px|alt={{{Name}}}|style:max-width:100%;max-height:150px;object-fit:contain;border:2px solid #e2d3ae;border-radius:4px;padding:2px;background-color:#262626;]]
{{{Description}}}
             🔒Locked Behind
{{{JourneyRequirement}}}
🏅 Tier {{{Tier}}}
Primary Source Crafting
Health {{{Health}}}
Power Cost {{{PowerCost}}}
📦 Inventory Slots {{{StorageSlots}}}
🗃 Volume Capacity {{{StorageVolume}}}
Components {{{RecipeToBuild}}}
🔨 Placed With {{{PlacedWith}}}
CRAFTING
            Refining Recipes
           Below is a list of possible outputs, required inputs, and the time to refine. Times or power usage might vary based on external modifiers (e.g., upgrades).
           The query SELECT  Refiner,Output,Ingredients,Time,Recipe  FROM `data_refining_recipes`      is invalid (Error 1146: Table 'dunedbco_ddb.data_refining_recipes' doesn't exist

Function: EDConnectorRdbms::fetch Query: SELECT Refiner,Output,Ingredients,Time,Recipe FROM `data_refining_recipes` ).

             |-
{{{Output}}} {{{Ingredients}}} {{{Time}}} |- {{{Output}}} {{{Ingredients}}} {{{Time}}} |- {{{Output}}} {{{Ingredients}}} {{{Time}}} |- {{{Output}}} {{{Ingredients}}} {{{Time}}} |- {{{Output}}} {{{Ingredients}}} {{{Time}}} |- {{{Output}}} {{{Ingredients}}} {{{Time}}}
Additional Information
            Notes
{{{AdditionalNotes}}}
VIDEO TUTORIALS
            Building Guide
           Coming Soon
RELATED BUILDINGS
           🏗 Other {{{Category3}}}
           Explore similar building types to expand your base capabilities.


             |-
             Sub-fief Console (Functional)

|- Small Ore Refinery (Functional)
Processes raw Copper Ore, Carbon Ore, and Iron Ore into Refined Resource. Can also create Steel Ingots from Iron and Carbon.
|- Small Storage Container (Functional)

|- Fuel-Powered Generator (Functional)

|- Fabricator (Functional)
A fabrication unit capable of producitng complex items. Place close to a Sub-fief Console with the Construction Tool. Requires power from a base power generator to operate.
|- Blood Purifier (Functional)