Prints the campaign link of a banner.

Kuvaus

The campaign link can be defined in the admin panel, in the banner form's Link address item.

The tag prints an HTML link. To print only the address of the campaign link, use the {BannerURL} tag.

Syntaksi

{BannerLink(
    id: int,
    name: string
)}

Näkyvyys

Toimii näkyvyydessä: banneri

You can use the tag either as a global tag or in the helper attributes of the {Banner} and {Banners} tags.

If you use the tag globally, select a banner by setting a value either to the id or name attribute.

Attribuutit

id:

The banner's ID number.

The banner ID number can be found in a browser's address bar when the banner is being edited or viewed in the admin panel.

Allowed values: the banner's ID number expressed as an integer

name:

The banner's codename.

The codename can be found in the banner details in the admin panel.

Allowed values: the banner's codename expressed as a string

before: / after:

With these two attributes, you can define content that is output before or after the content produced by the tag.

Allowed values:text that may contain HTML and Interface markup.

E.g.

escape:

Adds escape characters to the content printed by the tag, making it easier to use the content in JavaScript code or JSON objects.

Sallitut arvot:
or:

Defines alternative content that is displayed if the tag itself does not produce any content.

Allowed values:text that may contain HTML and Interface markup.

E.g. or:'Content not found.'