Template:Infobox hero: Difference between revisions

Fixed the conditional extra stat values (probably).
Another try it was showing even when empty.
Line 59: Line 59:
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase3_value}}}''' {{{increase3_stat}}}
| colspan="2" style="text-align: center; font-weight: normal" | '''{{{increase3_value}}}''' {{{increase3_stat}}}
{{#if:{{{increase4_value}}}  
{{#if:{{{increase4_value}}}  
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase4_value}}}''' {{{increase4_stat}}} </td></tr> }}
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase4_value}}}''' {{{increase4_stat}}} </td></tr> |}}
{{#if:{{{increase5_value}}}  
{{#if:{{{increase5_value}}}  
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase5_value}}}''' {{{increase5_stat}}} </td></tr> }}
| <tr><td colspan="2" style="text-align: center; font-weight: normal"> '''{{{increase5_value}}}''' {{{increase5_stat}}} </td></tr> |}}
|}
|}
</div>
</div>