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