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