Forum:LastActiveThread.IsSticky

Version: - boolean  

Summary

Returns True if last active thread is sticky.

Settings

The value is based on the Sticky field for the forum thread.

Examples

Outputting the template tag

@GetBoolean("Forum:LastActiveThread.IsSticky")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Forum:LastActiveThread.IsSticky"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Forum:LastActiveThread.IsSticky"); }

Outputting the template tag

<!--@Forum:LastActiveThread.IsSticky-->

Check if boolean has a value

<!--@If Defined(@Forum:LastActiveThread.IsSticky)--> Let's output this tag here: <strong><!--@Forum:LastActiveThread.IsSticky--></strong> <!--@EndIf(@Forum:LastActiveThread.IsSticky)-->