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