[TemplateName]

Takes no parameters

Description:

Returns the current Template Name as set by the CMS or manually set by the TemplateName command. This command is not available as an Attribute; it is only available in MOX.

Example:

[New] TmplName [TemplateName]

Select TmplName
Case "Default"
'...
   Case Else
'...
End Select