Forum:Thread.Author.[UserCustomFieldSystemName].Type

Version: - string  

Summary

Returns type of the custom field for user who is author of the thread.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Forum:Thread.Author.[UserCustomFieldSystemName].Type")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:Thread.Author.[UserCustomFieldSystemName].Type"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:Thread.Author.[UserCustomFieldSystemName].Type"); }

Outputting the template tag

<!--@Forum:Thread.Author.[UserCustomFieldSystemName].Type-->

Check if string has a value

<!--@If Defined(@Forum:Thread.Author.[UserCustomFieldSystemName].Type)--> Let's output this tag here: <strong><!--@Forum:Thread.Author.[UserCustomFieldSystemName].Type--></strong> <!--@EndIf(@Forum:Thread.Author.[UserCustomFieldSystemName].Type)-->