Value
Version: - stringSummary
The value is based on Default value of the parameter and can be overriden in paragraph setting of Product catalog module.
Settings
The value is based on Default value of the parameter in MC>Repositories>Repository>Query>Parameters>Parameter.
Examples
Outputting the template tag
@GetString("Value")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Value"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Value");
}
Outputting the template tag
<!--@Value-->
Check if string has a value
<!--@If Defined(@Value)-->
Let's output this tag here: <strong><!--@Value--></strong>
<!--@EndIf(@Value)-->