Shortcode variables
- .Get
- Returns the value of the given parameter.
- .Inner
- Returns the content between opening and closing shortcode tags, applicable when the shortcode call includes a closing tag.
- .InnerDeindent
- Returns the content between opening and closing shortcode tags, with indentation removed, applicable when the shortcode call includes a closing tag.
- .IsNamedParams
- Reports whether the shortcode call uses named parameters.
- .Name
- Returns the shortcode file name, excluding the file extension.
- .Ordinal
- Returns the zero-based ordinal of the shortcode in relation to its parent.
- .Page
- Returns the Page object from which the shortcode was called.
- .Params
- Returns a collection of the shortcode parameters.
- .Parent
- Returns the parent shortcode context in nested shortcodes.
- .Position
- Returns the filename and position from which the shortcode was called.
- .Ref
- Returns the absolute URL of the page with the given path, language, and output format.
- .RelRef
- Returns the relative URL of the page with the given path, language, and output format.
- .Scratch
- Creates a “scratch pad” scoped to the shortcode to store and manipulate data.
- .Site
- Returns the Site object.