Forum:Message.Body

Version: - string  

Summary

Returns the text body of the message.

Settings

The value is comes from the forum message text.

Examples

Outputting the template tag

@GetString("Forum:Message.Body")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:Message.Body"); }

Outputting the template tag

<!--@Forum:Message.Body-->

Check if string has a value

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