Parameter.Type

Version: - string  

Summary

Returns type of the parameter.

Settings

The value is based on Type field in Repository>Query>Parameters>Parameter.

Examples

Outputting the template tag

@GetString("Parameter.Type")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Parameter.Type-->

Check if string has a value

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