BuildingPage: Difference between revisions
From Dune Awakening DB
Created page with "<templatestyles src="Template:BuildingPage/styles.css" /> {{#get_external_data:source=externaldb|from=data_buildings|data=ID=id,BuildingType=building_type,Name=name,Description=description,PowerCost=power_cost,GeneratesPower=generates_power,StorageSlots=storage_slots,StorageCapacity=storage_capacity,SchematicRequirement=schematic_requirement,JourneyRequirement=journey_requirement,Health=health,PlacedWith=placed_with,AdditionalNotes=additional_notes,RecipeToBuild=recipe_t..." |
mNo edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="dune-breadcrumb-nav"> | |||
<templatestyles src="Template:BuildingPage/styles.css" /> | <templatestyles src="Template:BuildingPage/styles.css" /> | ||
{{#get_external_data:source=externaldb|from=data_buildings|data=ID=id,BuildingType=building_type,Name=name,Description=description,PowerCost=power_cost,GeneratesPower=generates_power,StorageSlots=storage_slots,StorageCapacity=storage_capacity,SchematicRequirement=schematic_requirement,JourneyRequirement=journey_requirement,Health=health,PlacedWith=placed_with,AdditionalNotes=additional_notes,RecipeToBuild=recipe_to_build,ImageFile=image_file,IconFile=icon_file,Category1=category_1,Category2=category_2,Category3=category_3,Gallery1=gallery_1,Gallery2=gallery_2,Gallery3=gallery_3,Gallery4=gallery_4,YoutubeVideoLink=youtube_video_link|cache=yes|where=name='{{PAGENAME}}'|limit=1}} | {{#get_external_data:source=externaldb|from=data_buildings|data=ID=id,BuildingType=building_type,Name=name,Description=description,PowerCost=power_cost,GeneratesPower=generates_power,StorageSlots=storage_slots,StorageCapacity=storage_capacity,SchematicRequirement=schematic_requirement,JourneyRequirement=journey_requirement,Health=health,PlacedWith=placed_with,AdditionalNotes=additional_notes,RecipeToBuild=recipe_to_build,ImageFile=image_file,IconFile=icon_file,Category1=category_1,Category2=category_2,Category3=category_3,Gallery1=gallery_1,Gallery2=gallery_2,Gallery3=gallery_3,Gallery4=gallery_4,YoutubeVideoLink=youtube_video_link|cache=yes|where=name='{{PAGENAME}}'|limit=1}} | ||
| Line 7: | Line 9: | ||
| <!-- fallback already set inside external data loop --> | | <!-- fallback already set inside external data loop --> | ||
}} | }} | ||
<span id="menuRadialTrigger" class="menu-button-wrapper" style="cursor:pointer;">[[File:MenuButton.png|100px|link=|alt=Menu]]</span><span class="dune-breadcrumb-separator">/</span>[[{{#var:Category1}}|{{#var:Category1}}]]<span class="dune-breadcrumb-separator">/</span>[[{{#var:Category2}}|{{#var:Category2}}]]<span class="dune-breadcrumb-separator">/</span>[[{{#var:Category3}}|{{#var:Category3}}]]<span class="dune-breadcrumb-separator">/</span><span>{{PAGENAME}}</span></div> | <span id="menuRadialTrigger" class="menu-button-wrapper" style="cursor:pointer;">[[File:MenuButton.png|100px|link=|alt=Menu]]</span><span class="dune-breadcrumb-separator">/</span>[[{{#var:Category1}}|{{#var:Category1}}]]<span class="dune-breadcrumb-separator">/</span>[[{{#var:Category2}}|{{#var:Category2}}]]<span class="dune-breadcrumb-separator">/</span>[[{{#var:Category3}}|{{#var:Category3}}]]<span class="dune-breadcrumb-separator">/</span><span>{{PAGENAME}}</span></div> | ||
| Line 64: | 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">⚛</span> | <div class="dune-card-title"><span class="icon">⚛</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 --> | {{#get_external_data: | ||
source = externaldb | |||
|from = vw_recipe_summary | |||
|data = Output = output_item, | |||
Resources = resources, | |||
Time = craft_time | |||
|where = station = '{{PAGENAME}}' <!-- e.g. Small Ore Refinery --> | |||
|order by = output_item | |||
|cache = yes | |||
}} | |||
<div class="dune-table-wrapper" style="overflow-x:auto;"> | |||
<table class="infobox-dune-standard-table"> | |||
<tr class="tr-dark"> | |||
<th style="text-align:left; width:30%;">Output</th> | |||
<th style="text-align:left; width:50%;">Recipe</th> | |||
<th style="text-align:left; width:20%;">Craft Time</th> | |||
</tr> | |||
{{#for_external_table:| | |||
<tr><td style="text-align:left;">{{#invoke:DataTableParserV2|iconize|1={{{Output}}}}}</td> | |||
<td style="text-align:left;">{{#invoke:DataTableParserV2|iconize|{{#invoke:DataTableParserV2|formatRecipeList|1={{{Resources}}}}}}} | |||
</td><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> | ||
Latest revision as of 22:46, 2 June 2025
SCHEMATIC – BUILDABLE
🛈 Building Information
[[File:{{{ImageFile}}}|200px|alt={{{Name}}}]]
{{{Description}}}
Locked Behind
{{{JourneyRequirement}}}
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}}}
