Forum:Category.IsSubscribed
Version: - booleanSummary
Returns True if the category is suscribed.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("Forum:Category.IsSubscribed")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Forum:Category.IsSubscribed"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Forum:Category.IsSubscribed");
}
Outputting the template tag
<!--@Forum:Category.IsSubscribed-->
Check if boolean has a value
<!--@If Defined(@Forum:Category.IsSubscribed)-->
Let's output this tag here: <strong><!--@Forum:Category.IsSubscribed--></strong>
<!--@EndIf(@Forum:Category.IsSubscribed)-->