ItemPublisher:Item.Field.Description

Version: - string  

Summary

Returns description of the item field, based on the Description filed in the item field definition.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("ItemPublisher:Item.Field.Description")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("ItemPublisher:Item.Field.Description"); }

Outputting the template tag

<!--@ItemPublisher:Item.Field.Description-->

Check if string has a value

<!--@If Defined(@ItemPublisher:Item.Field.Description)--> Let's output this tag here: <strong><!--@ItemPublisher:Item.Field.Description--></strong> <!--@EndIf(@ItemPublisher:Item.Field.Description)-->