TemplateIf
TemplateIf[condition,tclause] represents an element of a template object that inserts tclause if the condition evaluates to True.
TemplateIf[condition,tclause,fclause] inserts fclause if the condition does not evaluate to True.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.