News:CategoryDescription

Version: - string  

Summary

Returns the description of the category in which the news item should be created.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("News:CategoryDescription")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("News:CategoryDescription"); }

Outputting the template tag

<!--@News:CategoryDescription-->

Check if string has a value

<!--@If Defined(@News:CategoryDescription)--> Let's output this tag here: <strong><!--@News:CategoryDescription--></strong> <!--@EndIf(@News:CategoryDescription)-->