LocationsElementID
Version: - stringSummary
Returns the ID of the location element.
Settings
Not documented
Examples
Outputting the template tag
@GetString("LocationsElementID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("LocationsElementID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("LocationsElementID");
}
Outputting the template tag
<!--@LocationsElementID-->
Check if string has a value
<!--@If Defined(@LocationsElementID)-->
Let's output this tag here: <strong><!--@LocationsElementID--></strong>
<!--@EndIf(@LocationsElementID)-->