Conditional Else { Blocks }

This page demonstrates a Hashtag Conditional { Blocks }.   The conditional message is styled using Bootstrap 3 default theme classes.  
Processing this Hashtag Markup:
<# if("<#[url.test]#>"=="on") {
	<h4 class="alert alert-success text-center">Test is <b>ON</b></h4>
} else if("<#[url.test]#>"=="off") {
	<h4 class="alert alert-danger text-center">Test is <b>OFF</b></h4>
} else if("<#[url.test]#>"!="") {
	<h4 class="alert alert-warning text-center">Test is set to an unrecognized value</h4>
} else {
	<h4 class="alert alert-warning text-center">Test is not set</h4>
} #>

Test is not set





The Hashtag Markup Language provides multiple ways to conditionally display content or execute commands.

Conditional Templates and { Blocks } are demonstrated to compare and contrast.