Add if/else snippet, remove unnecessary placeholders