BuildingRefinerDisplayV2: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 27: | Line 27: | ||
YoutubeVideoLink=youtube_video_link | YoutubeVideoLink=youtube_video_link | ||
|cache=yes | |cache=yes | ||
|where=name=' | |where=name='Small Ore Refinery' | ||
|limit=1 | |limit=1 | ||
}} | }} | ||
<div class="responsive-container"> | {{#for_external_table:| | ||
<div class="responsive-container"> | |||
<!-- Left Column: Main Building Card --> | |||
<div class="responsive-col col1"> | |||
<div class="skin-pivot"> | |||
<div class="dune-card"> | |||
<div class="dune-card-decoration"></div> | |||
<div class="dune-card-inner"> | |||
<div class="dune-card-label">SCHEMATIC – BUILDABLE</div> | |||
<div class="dune-card-title"><span class="icon">🛈</span> {{{Name}}} | |||
</div> | |||
<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;]] | |||
</div> | |||
<div class="dune-card-description">{{#invoke:DataTableParserV2|iconize|{{{Description}}}}} | |||
</div> | |||
<div class="dune-card-locked"> | |||
<div class="dune-card-locked-label"><span class="dune-card-locked-icon">🔒</span>Locked Behind | |||
</div> | |||
<div class="dune-card-locked-value">{{{JourneyRequirement}}}</div> | |||
</div> | |||
<div class="dune-card-infobox"> | |||
<table class="infobox-dune"> | |||
<tr> | |||
<th><span class="icon">🏅</span> Building Type</th> | |||
<td>{{{BuildingType}}}</td> | |||
</tr> | |||
<tr> | |||
<th><span class="icon">♥</span> Health</th> | |||
<td>{{{Health}}}</td> | |||
</tr> | |||
<tr> | |||
<th><span class="icon">⚡</span> Power Cost</th> | |||
<td>{{{PowerCost}}}</td> | |||
</tr> | |||
<tr> | |||
<th><span class="icon">📦</span> Inventory Slots</th> | |||
<td>{{{StorageSlots}}}</td> | |||
</tr> | |||
<tr> | |||
<th><span class="icon">🗃</span> Capacity</th> | |||
<td>{{{StorageCapacity}}}</td> | |||
</tr> | |||
<tr> | |||
<th><span class="icon">⚛</span> Recipe</th> | |||
<td>{{#invoke:DataTableParserV2|iconize|{{{RecipeToBuild}}}}}</td> | |||
</tr> | |||
<tr> | |||
<th><span class="icon">🔨</span> Placed With</th> | |||
<td>{{#invoke:DataTableParserV2|iconize|{{{PlacedWith}}}}}</td> | |||
</tr> | |||
</table> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Middle Column: Refining Recipes & Additional Information --> | |||
<div class="responsive-col col2"> | |||
<!-- Refining Recipes Card --> | |||
<div class="skin-pivot" style="margin-bottom:20px;"> | |||
<div class="dune-card"> | |||
<div class="dune-card-decoration"></div> | |||
<div class="dune-card-inner"> | |||
<div class="dune-card-label">CRAFTING</div> | |||
<div class="dune-card-title"><span class="icon">⚛</span> Refining Recipes</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-infobox-left"> | |||
<!-- Make sure we define Output, Ingredients, and Time in data= --> | |||
{{#get_external_data: source=externaldb | |||
|from=data_refining_recipes | |||
|data=Output=name,Time=time_to_smelt,Recipe=recipe_to_smelt,Refiner=refiner_needed | |||
|cache=yes | |||
|where=refiner_needed='Small Ore Refinery' | |||
}} | |||
<!-- Open the table outside the loop --> | |||
<table class="infobox-dune"> | |||
<tr> | |||
<th style="text-align:left;">Output</th> | |||
<th style="text-align:left;">Recipe</th> | |||
<th style="text-align:left;">Craft Time</th> | |||
</tr> | |||
<!-- Each row in the DB becomes a new <tr> here --> | |||
{{#for_external_table:| | |||
<tr> | |||
<!-- Print only the iconized version (no duplication) --> | |||
<td style="text-align:left;"> | |||
{{#invoke:DataTableParserV2|iconize|{{{Output}}}}} | |||
</td> | |||
<td style="text-align:left;"> | |||
{{#invoke:DataTableParserV2|iconize|{{{Recipe}}}}} | |||
</td> | |||
<td style="text-align:left;">{{{Time}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | |||
</div> | </div> | ||
<div class="dune-card- | </div> | ||
</div> | |||
<div class="dune-card- | <!-- Additional Information Card --> | ||
< | <div class="skin-pivot" style="margin-bottom:20px;"> | ||
<div class="dune-card"> | |||
</ | <div class="dune-card-decoration"></div> | ||
<div class="dune-card-inner"> | |||
<div class="dune-card-label">Additional Information</div> | |||
<div class="dune-card-title"><span class="icon">≡</span> Notes</div> | |||
<div class="dune-card-description">{{{AdditionalNotes}}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
| Line 115: | Line 150: | ||
</div> | </div> | ||
<!-- | <!-- Right Column: Video Tutorials & Related Buildings --> | ||
<div class="responsive-col col3"> | |||
<!-- Video Tutorials Card --> | |||
<div class="skin-pivot" style="margin-bottom:20px;"> | |||
<div class="dune-card"> | |||
<div class="dune-card-decoration"></div> | |||
<div class="dune-card-inner"> | |||
<div class="dune-card-label">VIDEO TUTORIALS</div> | |||
<div class="dune-card-title"><span class="icon">▶</span> {{{VideoTitle|Building Guide}}}</div> | |||
<div class="dune-card-video" style="border:2px solid #e2d3ae;border-radius:4px;padding:2px;background-color:#262626;">{{{YoutubeEmbed}}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
<!-- Related Buildings Card --> | |||
<div class="skin-pivot"> | |||
<div class="dune-card"> | |||
<div class="dune-card-decoration"></div> | |||
<div class="dune-card-inner"> | |||
<div class="dune-card-label">RELATED BUILDINGS</div> | |||
<div class="dune-card-title"><span class="icon">🏗</span> Other {{{Category3}}}</div> | |||
<div class="dune-card-description">{{{RelatedBuildingsDescription|Explore similar building types to expand your base capabilities.}}} | |||
</div> | |||
<div class="dune-card-infobox"> | |||
{{#get_external_data: source=externaldb | |||
|from=data_buildings | |||
|data=Name=name,BuildingType=building_type,Category3=category_3 | |||
|cache=yes | |||
|where=category_3='{{{Category3}}}' | |||
}} | |||
<table class="infobox-dune" style="width:100%"> | |||
<tr> | |||
<th style="text-align:left;">Name</th> | |||
<th style="text-align:left;">Tier</th> | |||
<th style="text-align:left;">Description</th> | |||
</tr> | |||
{{#for_external_table:| | |||
<tr> | |||
<td style="text-align:left;">{{{Name}}}</td> | |||
<td style="text-align:left;">{{{BuildingType}}}</td> | |||
<td style="text-align:left;">{{{Category3}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
| Line 150: | Line 201: | ||
</div> | </div> | ||
<div style="clear:both;"></div> | |||
</div> | </div> | ||
}} | |||
Revision as of 01:26, 31 March 2025
SCHEMATIC – BUILDABLE
🛈 Small Ore Refinery
Processes raw
Copper Ore, Carbon Ore, and Iron Ore into Refined Resource. Can also create Steel Ingots from Iron and Carbon.
Locked Behind
| 🏅 Building Type | Functional |
|---|---|
| ♥ Health | 15 |
| ⚡ Power Cost | 5 |
| 📦 Inventory Slots | |
| 🗃 Capacity | |
| ⚛ Recipe | |
| 🔨 Placed With | Contruction Tool |
CRAFTING
⚛ Refining Recipes
Below is a list of possible outputs, required inputs, and the time to refine.
The query SELECT name,time_to_smelt,recipe_to_smelt,refiner_needed FROM `data_refining_recipes` WHERE refiner_needed='Small Ore Refinery' is invalid (Error 1146: Table 'dunedbco_ddb.data_refining_recipes' doesn't exist
Function: EDConnectorRdbms::fetch Query: SELECT name,time_to_smelt,recipe_to_smelt,refiner_needed FROM `data_refining_recipes` WHERE refiner_needed='Small Ore Refinery' ).
| Output | Recipe | Craft Time |
|---|---|---|
{{{Output}}}
|
{{{Recipe}}}
|
{{{Time}}} |
Additional Information
≡ Notes
VIDEO TUTORIALS
▶ Building Guide
{{{YoutubeEmbed}}}
RELATED BUILDINGS
🏗 Other Refineries
Explore similar building types to expand your base capabilities.
| Name | Tier | Description |
|---|---|---|
| Small Ore Refinery | Functional | Refineries |

