Chance Templates
This page uses Hashtag Chance Templates to demonstrate a 50% chance of showing a "Triggered!" message, otherwise showing a "Failed!" message.
The messages are styled using Bootstrap 3 default theme classes.
Reload this page to take another chance.
Processing this Hashtag Markup:
<# set chance_percent to "50"; #>
<# start chance of <#[chance_percent]#>% #>
<h4 class="alert alert-success">Chance Triggered!</h4>
<# else chance #>
<h4 class="alert alert-danger">Chance Failed!</h4>
<# end chance #>
Chance Triggered!