Template:Infobox: Difference between revisions

From Against the Storm Official Wiki
m (WIP building recipe section)
m (adding trading and fuel sections to infoboxes)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div id="ats-infobox" class="ats-infobox-border">
<includeonly><div id="ats-infobox" class="ats-infobox-border ats-green-leather-background">
<!------- Start header section ------->
<!------- Start header section ------->
<div id="ats-infobox-header" class="ats-thin-border-semitransparent-background">
<div id="ats-infobox-header">
<p id="ats-infobox-header-title">{{{title|In-game name}}}</p>
<p id="ats-infobox-header-title">{{{title|In-game name}}}</p>
<!--If a subtitle was given, then show that line, otherwise skip-->
<!--If a subtitle was given, then show that line, otherwise skip-->
Line 30: Line 30:
<!------- Start conditional recipes section ------->
<!------- Start conditional recipes section ------->
{{#if: {{{recipes|}}}
{{#if: {{{recipes|}}}
|<div id="ats-infobox-recipes" class="ats-thin-border-with-header">
|<div id="ats-infobox-section" class="ats-double-border-with-header">
<p class="ats-thin-border-with-header-title">Recipes</p>
<p class="ats-double-border-with-header-title">Recipes</p>
{{{recipes}}}
{{{recipes}}}
</div>
</div>
|}}
|}}
<!-- End recipes -->
<!-- End recipes -->
<!------- Start conditional construction section ------->
{{#if: {{{construction|}}}
|<div id="ats-infobox-section" class="ats-double-border-with-header">
<p class="ats-double-border-with-header-title">Construction</p>
{{{construction}}}
<table><tr><td>{{{cityscore|?}}}</td><td>City score</td></tr>
<tr><td>{{{constructiontime|?}}}</td><td>Build time</td></tr>
<tr><td>{{{constructionsize|?}}}</td><td>Building size</td></tr></table>
</div>
|}}
<!-- End construction -->
<!------- Start conditional fuel & sacrificing section ------->
{{#if: {{{burntime|}}}
|<div class="ats-infobox-section ats-double-border-with-header">
<p class="ats-double-border-with-header-title">Fuel & Sacrificing</p>
<table><tr><td>{{{burntime|?}}}</td><td>New profile burn time</td></tr></table>
</div>
|}}
<!-- End fuel -->
<!------- Start conditional trading section ------->
{{#if: {{{sellvalue|}}}
|<div id="ats-infobox-section" class="ats-double-border-with-header">
<p class="ats-double-border-with-header-title">Trading</p>
<table><tr><td>{{{sellvalue|?}}}</td><td>{{Amber}}</td><td>Value when sold</td></tr>
<tr><td>{{{sellvaluep10|?}}}</td><td>{{Amber}}</td><td>Value after P10</td></tr>
<tr><td>{{{buyvalue|?}}}</td><td>{{Amber}}</td><td>Traders' price</td></tr></table>
</div>
|}}
<!-- End trading -->
<p id="ats-infobox-id">ID = `{{{id|?}}}`</p>
</div></includeonly><noinclude>
</div></includeonly><noinclude>


Line 48: Line 78:
|workplaces=3
|workplaces=3
|recipes={{Recipe|building=Furnace|display=list}}
|recipes={{Recipe|building=Furnace|display=list}}
|construction={{Construction|5|2}}
|constructiontime=00:40
|constructionsize=3 × 2
|id=Furnace
}}
}}


Line 56: Line 90:
|iconfilename=Icon Resource Pie.png
|iconfilename=Icon Resource Pie.png
|recipes={{Recipe|product=Pie|display=list}}
|recipes={{Recipe|product=Pie|display=list}}
|sellvalue=0.18
|sellvaluep10=0.09
|buyvalue=0.35
|id=[Food Processed] Pie
}}
{{Infobox
|title=Coal
|subtitle=Fuel & Exploration
|description=Efficient fuel. Obtained in: Kiln, Mine, Brick Oven
|iconfilename=Icon Resource Coal.png
|recipes={{Recipe|product=Coal|display=list}}
|burntime=00:40
|sellvalue=0.29
|sellvaluep10=0.18
|buyvalue=0.50
|id=[Crafting] Coal
}}
}}


</noinclude>
</noinclude>

Latest revision as of 21:41, 5 October 2024



Furnace

Production Building

Can produce: Pie (**), Skewers (**), Copper Bars (**). Can use: Drizzle Water.

Specialization bonus: Warmth

Furnace icon.png

3 Worker round.png Worker round.png Worker round.png Workers

Recipes

Construction

5Planks Planks
2Bricks Bricks
?City score
00:40Build time
3 × 2Building size


ID = `Furnace`

Pie

Complex Food

A savory delicacy. Liked by: Humans, Lizards, Frogs. Villagers with a satisfied need for pie have an increased chance of producing double yields. Produced in: Bakery, Pantry, Furnace, Smelter

Icon Resource Pie.png

Recipes


Trading

0.18AmberValue when sold
0.09AmberValue after P10
0.35AmberTraders' price

ID = `[Food Processed] Pie`

Coal

Fuel & Exploration

Efficient fuel. Obtained in: Kiln, Mine, Brick Oven

Icon Resource Coal.png

Recipes

Fuel & Sacrificing

00:40New profile burn time

Trading

0.29AmberValue when sold
0.18AmberValue after P10
0.50AmberTraders' price

ID = `[Crafting] Coal`