Template:Infobox enemy: Difference between revisions

Should fix it. I'll try to rewrite with simpler #ifs tomorrow.
m (That should fix the singular for value.)
(Should fix it. I'll try to rewrite with simpler #ifs tomorrow.)
Line 11: Line 11:
|-
|-
! width="30%" style="background: #e6e9ff;" | [[Areas|<font style="color:black">Areas</font>]]
! width="30%" style="background: #e6e9ff;" | [[Areas|<font style="color:black">Areas</font>]]
| width = "70%" | {{{areas}}}
| width = "70%" | {{{areas}}}{{#ifeq:{{{underground}}}|||<br>
{{#ifeq:{{{underground}}}|||{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground Areas</font>]]
! width="30%" style="background: #e6e9ff;" {{Pipe}} [[Cave{{Pipe}}<font style="color:black">Underground Areas</font>]]
{{Pipe}} width = "70%" {{Pipe}} {{{underground}}}}}
{{Pipe}} width = "70%" {{Pipe}} {{{underground}}}}}{{#ifeq:{{{weight}}}|||<br>
{{#ifeq:{{{weight}}}|||{{Pipe}}-
{{Pipe}}-
! width="30%" style="background: #e6e9ff;" {{Pipe}} Weight
! width="30%" style="background: #e6e9ff;" {{Pipe}} Weight
{{Pipe}} width = "70%" {{Pipe}} {{{weight}}}}}{{#ifeq:{{{weight1}}}|||<br>
{{Pipe}} width = "70%" {{Pipe}} {{{weight}}}}}{{#ifeq:{{{weight1}}}|||<br>
14,178

edits