ParagraphID
Version: - stringSummary
Returns ID of the paragraph.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("ParagraphID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("ParagraphID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("ParagraphID");
}
Outputting the template tag
<!--@ParagraphID-->
Check if string has a value
<!--@If Defined(@ParagraphID)-->
Let's output this tag here: <strong><!--@ParagraphID--></strong>
<!--@EndIf(@ParagraphID)-->