BuildingRefinerDisplayV2: Difference between revisions
From Dune Awakening DB
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{#vardefine:BuildingName|{{{Name|{{PAGENAME}}}}}}} | |||
<div class="responsive-container"> | <div class="responsive-container"> | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_buildings | |from=data_buildings | ||
|where=name='{{#var:BuildingName}}' | |where=name='{{#var:BuildingName}}' | ||
|data= | |data=building_id=id,building_type=building_type,building_name=name,building_description=description, | ||
building_power=power_cost,generates_power=generates_power,storage_slots=storage_slots, | |||
storage_capacity=storage_capacity, | storage_capacity=storage_capacity,schematic_req=schematic_requirement, | ||
journey_req=journey_requirement,building_health=health,placed_with=placed_with, | |||
additional_notes=additional_notes, | additional_notes=additional_notes,recipe=recipe_to_build, | ||
image_file=image_file,icon_file=icon_file, | image_file=image_file,icon_file=icon_file, | ||
cat1=category_1,cat2=category_2,cat3=category_3, | |||
youtube_link=youtube_video_link | |||
}} | }} | ||
| Line 21: | Line 22: | ||
<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">🛈</span> {{#external_value: | <div class="dune-card-title"><span class="icon">🛈</span> {{#external_value:building_name}}</div> | ||
<div class="dune-card-image">[[File:{{#external_value:image_file}}|200px|alt={{#external_value: | <div class="dune-card-image">[[File:{{#external_value:image_file}}|200px|alt={{#external_value:building_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">{{#external_value: | <div class="dune-card-description">{{#external_value:building_description}}</div> | ||
<div class="dune-card-locked"> | <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-label"><span class="dune-card-locked-icon">🔒</span>Locked Behind</div> | ||
<div class="dune-card-locked-value">{{#external_value: | <div class="dune-card-locked-value">{{#external_value:journey_req}}</div> | ||
</div> | </div> | ||
<div class="dune-card-infobox"> | <div class="dune-card-infobox"> | ||
| Line 32: | Line 33: | ||
<tr><th><span class="icon">🏅</span> Type</th><td>{{#external_value:building_type}}</td></tr> | <tr><th><span class="icon">🏅</span> Type</th><td>{{#external_value:building_type}}</td></tr> | ||
<tr><th><span class="icon">⚙</span> Primary Source</th><td>Crafting</td></tr> | <tr><th><span class="icon">⚙</span> Primary Source</th><td>Crafting</td></tr> | ||
<tr><th><span class="icon">♥</span> Health</th><td>{{#external_value: | <tr><th><span class="icon">♥</span> Health</th><td>{{#external_value:building_health}}</td></tr> | ||
<tr><th><span class="icon">⚡</span> Power Cost</th><td>{{#external_value: | <tr><th><span class="icon">⚡</span> Power Cost</th><td>{{#external_value:building_power}}</td></tr> | ||
<tr><th><span class="icon">📦</span> Inventory Slots</th><td>{{#external_value:storage_slots}}</td></tr> | <tr><th><span class="icon">📦</span> Inventory Slots</th><td>{{#external_value:storage_slots}}</td></tr> | ||
<tr><th><span class="icon">🗃</span> Volume Capacity</th><td>{{#external_value:storage_capacity}}</td></tr> | <tr><th><span class="icon">🗃</span> Volume Capacity</th><td>{{#external_value:storage_capacity}}</td></tr> | ||
| Line 39: | Line 40: | ||
{{#get_external_data: source=externaldb | {{#get_external_data: source=externaldb | ||
|from=data_resources | |from=data_resources | ||
|where=name IN ({{#external_value: | |where=name IN ({{#external_value:recipe}}) | ||
|data=name= | |data=comp_name=name,comp_icon=icon_file}} | ||
{{#for_external_table:|[[File:{{#external_value: | {{#for_external_table:|[[File:{{#external_value:comp_icon}}|20px]] [[{{#external_value:comp_name}}]]<br>}} | ||
</td></tr> | </td></tr> | ||
<tr><th><span class="icon">🔨</span> Placed With</th><td>{{#external_value:placed_with}}</td></tr> | <tr><th><span class="icon">🔨</span> Placed With</th><td>{{#external_value:placed_with}}</td></tr> | ||
Revision as of 14:12, 25 March 2025
SCHEMATIC – BUILDABLE
🛈 Error: no local variable "building_name" has been set.
[[File:Error: no local variable "image_file" has been set.|200px|alt=Error: no local variable "building_name" has been set.|style:max-width:100%;max-height:150px;object-fit:contain;border:2px solid #e2d3ae;border-radius:4px;padding:2px;background-color:#262626;]]
Error: no local variable "building_description" has been set.
Locked Behind
Error: no local variable "journey_req" has been set.
| 🏅 Type | Error: no local variable "building_type" has been set. |
|---|---|
| ⚙ Primary Source | Crafting |
| ♥ Health | Error: no local variable "building_health" has been set. |
| ⚡ Power Cost | Error: no local variable "building_power" has been set. |
| 📦 Inventory Slots | Error: no local variable "storage_slots" has been set. |
| 🗃 Volume Capacity | Error: no local variable "storage_capacity" has been set. |
| ⚛ Components |
The query SELECT name,icon_file FROM `data_resources` WHERE name IN (Error: no local variable "recipe" has been set.) is invalid (Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Error: no local variable "recipe" has been set.)' at line 1 Function: EDConnectorRdbms::fetch Query: SELECT name,icon_file FROM `data_resources` WHERE name IN (Error: no local variable "recipe" has been set.) ). |
| 🔨 Placed With | Error: no local variable "placed_with" has been set. |
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 OutputItem,Ingredients,Time,RecipeQty FROM `data_refining_recipes` WHERE refiner_needed='BuildingRefinerDisplayV2' is invalid (Error 1146: Table 'dunedbco_ddb.data_refining_recipes' doesn't exist
Function: EDConnectorRdbms::fetch
Query: SELECT OutputItem,Ingredients,Time,RecipeQty FROM `data_refining_recipes` WHERE refiner_needed='BuildingRefinerDisplayV2'
).
| Output | Ingredients | Craft Time |
|---|
Additional Information
≡ Notes
Error: no local variable "additional_notes" has been set.
VIDEO TUTORIALS
▶ Building Guide
Provided ID could not be validated.
RELATED BUILDINGS
🏗 Other Error: no local variable "category_3" has been set.
Explore similar building types to expand your base capabilities.
The query SELECT RelatedName,RelatedType,RelatedDescription,RelatedIconFile FROM `data_buildings` WHERE category_3='Error: no local variable "category_3" has been set.' is invalid (Error 1054: Unknown column 'RelatedName' in 'SELECT'
Function: EDConnectorRdbms::fetch Query: SELECT RelatedName,RelatedType,RelatedDescription,RelatedIconFile FROM `data_buildings` WHERE category_3='Error: no local variable "category_3" has been set.' ).
| Name | Type | Description |
|---|
