| Michael Moderator
 
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future
 Posts: 4,043
 Status: Offline
 Gender: Male
 Location: UK
 Joined:
 
 Additional Groups:
 Coding Team
 
    
 
 
 pmvForum
 | | Nested If Template Statement (18th Jan 10 at 2:05pm UTC) Resolved
 |  |  | It breaks it!   
 On my forum (Ross knows link) attempting to use a custom if statement, but it's terminated by {/if:gender}
   
 
 Surely a {/if} should terminate a custom {if}, not a {/if:gender}
   |  |
 | 
| Ross Administrator
 
      
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709
 Status: Offline
 Gender: Male
 Age: 9 1⁄4
 Joined:
 
 Additional Groups:
 Support Team
 
    
 
 
 pmwwwgtalkvForum
 | | Re: Nested If Template Statement (18th Jan 10 at 2:07pm UTC) |  |  | Which template? 
 Nested {if} statements have work on all my tests.
 |  |
 | 
 | 
 | 
| Michael Moderator
 
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future
 Posts: 4,043
 Status: Offline
 Gender: Male
 Location: UK
 Joined:
 
 Additional Groups:
 Coding Team
 
    
 
 
 pmvForum
 | | Re: Nested If Template Statement (18th Jan 10 at 2:09pm UTC) |  |  | It's the mini profile one, sorry for not mentioning that. Version 1   |  |
 | 
| Ross Administrator
 
      
 
 ![[Avatar]](http://uploads.virtualforums.co.uk/forums/pokemon/vforums-qr1.png) Posts: 3,709
 Status: Offline
 Gender: Male
 Age: 9 1⁄4
 Joined:
 
 Additional Groups:
 Support Team
 
    
 
 
 pmwwwgtalkvForum
 | | Re: Nested If Template Statement (18th Jan 10 at 2:14pm UTC) |  |  | It's not just because it's nested, it's the {else} doing most the damage. Replacing that with a separate {if} seems to fix it   |  |
 | 
 | 
 | 
| Michael Moderator
 
      
 
 ![[Avatar]](http://av.wservices.co.uk/av.png) Recoding the future
 Posts: 4,043
 Status: Offline
 Gender: Male
 Location: UK
 Joined:
 
 Additional Groups:
 Coding Team
 
    
 
 
 pmvForum
 | | Re: Nested If Template Statement (18th Jan 10 at 2:16pm UTC) |  |  | Hm... Ok. 
 I thought {else} would have worked. Oh wells!
   Thanks.
 |  |
 |