Parameter.Value

Version: - string  

Summary

Returns value of the parameter.

Settings

The value is based on Default value of the parameter and can be overriden in paragraph setting of Product catalog module.

Examples

Outputting the template tag

@GetString("Parameter.Value")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Parameter.Value"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Parameter.Value"); }

Outputting the template tag

<!--@Parameter.Value-->

Check if string has a value

<!--@If Defined(@Parameter.Value)--> Let's output this tag here: <strong><!--@Parameter.Value--></strong> <!--@EndIf(@Parameter.Value)-->