Forum:Category.Name

Version: - string  

Summary

Returns the name of the forum category

Settings

The value is based on the forum category name.

Examples

Outputting the template tag

@GetString("Forum:Category.Name")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:Category.Name"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:Category.Name"); }

Outputting the template tag

<!--@Forum:Category.Name-->

Check if string has a value

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