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