The Wiki for Tale 5 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.

If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.

Difference between revisions of "Template:AquaductTowerConstruction"

From ATITD5
Jump to navigationJump to search
Line 2: Line 2:
 
ex:
 
ex:
 
<nowiki>{{AquaductTowerConstruction|current=0|target=50|bricks=4|concrete=3|cut=2|pipe=1}}</nowiki>
 
<nowiki>{{AquaductTowerConstruction|current=0|target=50|bricks=4|concrete=3|cut=2|pipe=1}}</nowiki>
</noinclude>
+
gives
 +
{{AquaductTowerConstruction|current=0|target=50|bricks=4|concrete=3|cut=2|pipe=1}}
 +
</noinclude><includeonly>
 
{| style = 'width: 23em; margin-bottom: 0.5em; border-spacing: 0; border-left: 1px solid black; border-right: 1px solid black'
 
{| style = 'width: 23em; margin-bottom: 0.5em; border-spacing: 0; border-left: 1px solid black; border-right: 1px solid black'
 
|-
 
|-
Line 29: Line 31:
 
|-
 
|-
 
! colspan='6' style = 'padding: 0.25em 0.7em' | <div style='font-size: 120%'>Raise Aquaduct Tower from {{{cur|0}}} to {{{target|50}}}
 
! colspan='6' style = 'padding: 0.25em 0.7em' | <div style='font-size: 120%'>Raise Aquaduct Tower from {{{cur|0}}} to {{{target|50}}}
{{ResResource|Bricks|{{{bricks|4}}}|{{#expr: (2000+50*{{{target|50}}})-(2000+50*{{{cur|0}}})}}|0}}
+
{{ResResource|Bricks|{{{bricks|0}}}|{{#expr: (2000+50*{{{target|50}}})-(2000+50*{{{cur|0}}})}}|0}}
{{ResResource|Concrete|{{{concrete|3}}}|{{#expr: (2*{{{target|50}}})-(2*{{{cur|0}}})}}|0}}
+
{{ResResource|Concrete|{{{concrete|0}}}|{{#expr: (2*{{{target|50}}})-(2*{{{cur|0}}})}}|0}}
{{ResResource|Cut Stone|{{{cut|2}}}|{{#expr: trunc(1.5*{{{target|50}}})-trunc(1.5*{{{cur|0}}})}}|0}}
+
{{ResResource|Cut Stone|{{{cut|0}}}|{{#expr: trunc(1.5*{{{target|50}}})-trunc(1.5*{{{cur|0}}})}}|0}}
{{ResResource|Pipe Segments|{{{pipe|1}}}|{{#expr: trunc(5+{{{target|50}}}/50)-trunc(5+{{{cur|0}}}/50)}}|0}}
+
{{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-trunc(5+{{{cur|0}}}/50)}}|0}}
  
 
</div>
 
</div>
Line 40: Line 42:
 
<div style='overflow: hidden; width: 23em; white-space: nowrap; line-height: 9px; height: 10px; margin-bottom: -2px'><div style='width: 0px'>[[Image:Delimiter_Small.png|block|link=]]</div></div>
 
<div style='overflow: hidden; width: 23em; white-space: nowrap; line-height: 9px; height: 10px; margin-bottom: -2px'><div style='width: 0px'>[[Image:Delimiter_Small.png|block|link=]]</div></div>
 
|}
 
|}
<div style='overflow: hidden; width: 23em; white-space: nowrap; line-height: 5px; height: 6px;'></div><NOINCLUDE>[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>
+
<div style='overflow: hidden; width: 23em; white-space: nowrap; line-height: 5px; height: 6px;'></div></includeonly><NOINCLUDE>[[Category: Template]]  {{DEFAULTSORT:{{PAGENAME}}}}</noinclude>

Revision as of 07:12, 6 December 2010

parameter built=no to include base materials.
base concrete is parameter buildconcrete, concrete is for raise.
ex: {{AquaductTowerConstruction|current=0|target=50|bricks=4|concrete=3|cut=2|pipe=1}} gives

block
Raise Aquaduct Tower from 0 to 50
Bricks
4
/
2500
(2496)
0%
Concrete
3
/
100
(97)
3%
Cut Stone
2
/
75
(73)
2%
Pipe Segments
1
/
1
(0)
100%
block