Forum:Message.AuthorID
Version: - integerSummary
Returns the authors ID.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("Forum:Message.AuthorID")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Forum:Message.AuthorID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Forum:Message.AuthorID");
}
Outputting the template tag
<!--@Forum:Message.AuthorID-->
Check if integer has a value
<!--@If Defined(@Forum:Message.AuthorID)-->
Let's output this tag here: <strong><!--@Forum:Message.AuthorID--></strong>
<!--@EndIf(@Forum:Message.AuthorID)-->