ItemPublisher:ItemType.Description
Version: - stringSummary
Returns the description of the selected item type.
Settings
The value is based on the item type description field.
(Management center - System - Item types - Item type - Description)
Examples
Outputting the template tag
@GetString("ItemPublisher:ItemType.Description")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ItemPublisher:ItemType.Description"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ItemPublisher:ItemType.Description");
}
Outputting the template tag
<!--@ItemPublisher:ItemType.Description-->
Check if string has a value
<!--@If Defined(@ItemPublisher:ItemType.Description)-->
Let's output this tag here: <strong><!--@ItemPublisher:ItemType.Description--></strong>
<!--@EndIf(@ItemPublisher:ItemType.Description)-->