Forum:Category.Replies.Count

Version: - integer  

Summary

Returns quontity of replies within category

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Forum:Category.Replies.Count")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Forum:Category.Replies.Count"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Forum:Category.Replies.Count"); }

Outputting the template tag

<!--@Forum:Category.Replies.Count-->

Check if integer has a value

<!--@If Defined(@Forum:Category.Replies.Count)--> Let's output this tag here: <strong><!--@Forum:Category.Replies.Count--></strong> <!--@EndIf(@Forum:Category.Replies.Count)-->