Forum:Message.File.Url

Version: - string  

Summary

Returns the current link URL to the file.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Forum:Message.File.Url")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Forum:Message.File.Url"); }

Outputting the template tag

<!--@Forum:Message.File.Url-->

Check if string has a value

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