Forum:Global.Category.IsModerated

Version: - boolean  

Summary

Returns True if category has any active moderators attached.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Forum:Global.Category.IsModerated")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Forum:Global.Category.IsModerated"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Forum:Global.Category.IsModerated"); }

Outputting the template tag

<!--@Forum:Global.Category.IsModerated-->

Check if boolean has a value

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