News:BackPicture

Version: - string  

Summary

Returns the <a href> code for the back button with an image.

Settings

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

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

Remarks

Returns a button based on the chosen image under the paragraph settings.

Examples

Outputting the template tag

@GetString("News:BackPicture")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@News:BackPicture-->

Check if string has a value

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