News:BackPictureClean

Version: - string  

Summary

Returns the image name for the back button image.

Settings

The value is based on the Back button settings in the paragraph module settings.

(Page > Paragraph > Module tab > (Advanced) > Display panel).

Remarks

The value should be assigned to the <img> src attribute.

Examples

Outputting the template tag

@GetString("News:BackPictureClean")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("News:BackPictureClean"); }

Outputting the template tag

<!--@News:BackPictureClean-->

Check if string has a value

<!--@If Defined(@News:BackPictureClean)--> Let's output this tag here: <strong><!--@News:BackPictureClean--></strong> <!--@EndIf(@News:BackPictureClean)-->