Forum:Message.Author
Version: - stringSummary
Returns the author of the message.
Settings
The value is based on the Author field for the forum thread/post.
Examples
Outputting the template tag
@GetString("Forum:Message.Author")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Forum:Message.Author"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Forum:Message.Author");
}
Outputting the template tag
<!--@Forum:Message.Author-->
Check if string has a value
<!--@If Defined(@Forum:Message.Author)-->
Let's output this tag here: <strong><!--@Forum:Message.Author--></strong>
<!--@EndIf(@Forum:Message.Author)-->