Forum:Thread.IsSubscribed

Version: - boolean  

Summary

Returns True if the thread is subscribed.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Forum:Thread.IsSubscribed")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Forum:Thread.IsSubscribed"); }

Outputting the template tag

<!--@Forum:Thread.IsSubscribed-->

Check if boolean has a value

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