Forum:Thread.Author.Group.ID

Version: - integer  

Summary

Returnst group ID of the thread's author.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Forum:Thread.Author.Group.ID")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Forum:Thread.Author.Group.ID"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Forum:Thread.Author.Group.ID"); }

Outputting the template tag

<!--@Forum:Thread.Author.Group.ID-->

Check if integer has a value

<!--@If Defined(@Forum:Thread.Author.Group.ID)--> Let's output this tag here: <strong><!--@Forum:Thread.Author.Group.ID--></strong> <!--@EndIf(@Forum:Thread.Author.Group.ID)-->