1. Handlebars Helpers
  2. Stub Link

Handlebars Helpers

Stub Link

Returns a full anchor tag with the Stub URL.

See also Short URLs for more information on the different types of URLs available.

NOTE

Use the Stub URL helper to return just the URL without the anchor tag.

Uses

  • Use to create a full link that points to the stub on Stubber

Usage

Helper name : stublink

Parameter Description
1 The stubref to create the link for
2 The LID data to pass into the stub (optional)
3 The action name to open the specific action (optional)
4 The stub block to open only the certain stub block (optional)

eg. {{#stublink [stubref] [lid] [action_name] [stub_block]}{{/stublink}}

Examples

Example definition:

loading...

Substituted definition

loading...

Advanced usage

You can optionally add these extra arguments to the URL that is returned similar to the Stub URL helper:

  • LID: Learn more
  • Action name: to open the specific action
  • Stub block: to open only the certain stub block

Example definition:

loading...

Substituted definition

loading...