Forum:Message.Replies.Count
Version: - integerSummary
Returns count of replies on the message.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("Forum:Message.Replies.Count")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Forum:Message.Replies.Count"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Forum:Message.Replies.Count");
}
Outputting the template tag
<!--@Forum:Message.Replies.Count-->
Check if integer has a value
<!--@If Defined(@Forum:Message.Replies.Count)-->
Let's output this tag here: <strong><!--@Forum:Message.Replies.Count--></strong>
<!--@EndIf(@Forum:Message.Replies.Count)-->