So, we’ve now been introduced to many of the core concepts in ExpressionEngine, including parameters, variables, paths, assigned variables, and variable pairs. Now it’s time to begin our adventures into conditionals.
Conditionals are a powerful concept that allow you to show data based on the existence of some other value stored in the system. You can create conditionals for any variable in ExpressionEngine; however, there are some variables that ExpressionEngine gives you to make things easier. This includes testing to see if comments are allowed, and if trackbacks are allowed. And so we reach the next few lines of our template.