Forum:FirstAnswer.Author.Group.ID
Version: - stringSummary
Returns group ID of author the first answer.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Forum:FirstAnswer.Author.Group.ID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Forum:FirstAnswer.Author.Group.ID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Forum:FirstAnswer.Author.Group.ID");
}
Outputting the template tag
<!--@Forum:FirstAnswer.Author.Group.ID-->
Check if string has a value
<!--@If Defined(@Forum:FirstAnswer.Author.Group.ID)-->
Let's output this tag here: <strong><!--@Forum:FirstAnswer.Author.Group.ID--></strong>
<!--@EndIf(@Forum:FirstAnswer.Author.Group.ID)-->