Forum:Message.Image.Extension

Version: - string  

Summary

Returns image extension of the message.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Forum:Message.Image.Extension")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Forum:Message.Image.Extension"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:Message.Image.Extension"); }

Outputting the template tag

<!--@Forum:Message.Image.Extension-->

Check if string has a value

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