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