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 14: Line 14:
 
{{#ifeq: {{{built|}}} | no |
 
{{#ifeq: {{{built|}}} | no |
 
{{!}}-
 
{{!}}-
! colspan='6' style = 'padding: 0.25em 0.7em' {{!}} <div style='font-size: 120%'>Build Aquaduct Tower
+
! colspan='6' style = 'padding: 0.25em 0.7em' {{!}} <div style='font-size: 120%'>Build Aquaduct Tower</div>
 
     {{ResResource|Cistern|{{{cistern|0}}}|1}}
 
     {{ResResource|Cistern|{{{cistern|0}}}|1}}
 
     {{ResResource|Copper Pipe|{{{copper|0}}}|5}}
 
     {{ResResource|Copper Pipe|{{{copper|0}}}|5}}
Line 30: Line 30:
 
}}
 
}}
 
|-
 
|-
! 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}}}</div>
 
{{ResResource|Bricks|{{{bricks|0}}}|{{#expr: (2000+50*{{{target|50}}})-{{#ifeq: {{{cur|0}}} | 0 | 0 | (2000+50*{{{cur|0}}})}}}}}}
 
{{ResResource|Bricks|{{{bricks|0}}}|{{#expr: (2000+50*{{{target|50}}})-{{#ifeq: {{{cur|0}}} | 0 | 0 | (2000+50*{{{cur|0}}})}}}}}}
 
{{ResResource|Concrete|{{{concrete|0}}}|{{#expr: (2*{{{target|50}}})-(2*{{{cur|0}}})}}|0}}
 
{{ResResource|Concrete|{{{concrete|0}}}|{{#expr: (2*{{{target|50}}})-(2*{{{cur|0}}})}}|0}}
Line 36: Line 36:
 
{{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-{{#ifeq: {{{cur|0}}} | 0 | 0 | trunc(5+{{{cur|0}}}/50)}}}}}}
 
{{ResResource|Pipe Segments|{{{pipe|0}}}|{{#expr: trunc(5+{{{target|50}}}/50)-{{#ifeq: {{{cur|0}}} | 0 | 0 | trunc(5+{{{cur|0}}}/50)}}}}}}
  
</div>
+
 
 
|}
 
|}
 
|-
 
|-

Revision as of 07:33, 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
/
4500
(4496)
0%
Concrete
3
/
100
(97)
3%
Cut Stone
2
/
75
(73)
2%
Pipe Segments
1
/
6
(5)
16%


block