Add ternary operater
Conflict with variable syntax
Resolve bug, {$variable} and ternary syntax in same line. (ex) href="{$href}" class="{$v1==$v2?'active':''}">)
Reolsve bug, need to unclose {/if} bug
Removed echo for ternary operator variable (fix) and added example