Forum:Message.isSticky
Version: - booleanSummary
Returns True if the message is sticky
Settings
The value is related to Sticky option in the module thread/post.
Examples
Outputting the template tag
@GetBoolean("Forum:Message.isSticky")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Forum:Message.isSticky"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Forum:Message.isSticky");
}
Outputting the template tag
<!--@Forum:Message.isSticky-->
Check if boolean has a value
<!--@If Defined(@Forum:Message.isSticky)-->
Let's output this tag here: <strong><!--@Forum:Message.isSticky--></strong>
<!--@EndIf(@Forum:Message.isSticky)-->