Template:Infobox: Difference between revisions
From Against the Storm Official Wiki
m (WIP building recipe section) |
m (adding trading and fuel sections to infoboxes) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div id="ats-infobox" class="ats-infobox-border ats-green-leather-background"> | <includeonly><div id="ats-infobox" class="ats-infobox-border ats-green-leather-background"> | ||
<!------- Start header section -------> | <!------- Start header section -------> | ||
<div id="ats-infobox-header | <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- | |<div id="ats-infobox-section" class="ats-double-border-with-header"> | ||
<p class="ats-double-border-with-header-title">Recipes</p> | <p class="ats-double-border-with-header-title">Recipes</p> | ||
{{{recipes}}} | {{{recipes}}} | ||
Line 38: | Line 38: | ||
<!------- Start conditional construction section -------> | <!------- Start conditional construction section -------> | ||
{{#if: {{{construction|}}} | {{#if: {{{construction|}}} | ||
|<div id="ats-infobox- | |<div id="ats-infobox-section" class="ats-double-border-with-header"> | ||
<p> | <p class="ats-double-border-with-header-title">Construction</p> | ||
{{{construction}}} | {{{construction}}} | ||
{{{constructiontime|}}} | <table><tr><td>{{{cityscore|?}}}</td><td>City score</td></tr> | ||
{{{constructionsize|}}} | <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> | </div> | ||
<!-- End | |}} | ||
<!-- 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 58: | Line 78: | ||
|workplaces=3 | |workplaces=3 | ||
|recipes={{Recipe|building=Furnace|display=list}} | |recipes={{Recipe|building=Furnace|display=list}} | ||
|construction= | |construction={{Construction|5|2}} | ||
|constructiontime=00:40 | |||
|constructionsize=3 × 2 | |||
|id=Furnace | |||
}} | }} | ||
Line 69: | 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
Recipes
- Pie (★★)
- Skewers (★★)
- Copper Bars (★★)
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
Recipes
- Smelter (★)
- Bakery (★★)
- Furnace (★★)
- Pantry (★★)
- Flawless Smelter (★★★)
ID = `[Food Processed] Pie`
Recipes
- Brick Oven (★)
- Kiln (★★★)
- Mine (★★)
Fuel & Sacrificing
00:40 | New profile burn time |
ID = `[Crafting] Coal`