Prints a link to any online store page.

Kuvaus

The link's destination is selected by setting values to both the type and id attributes.

If you only want to print a URL to a freely chosen destination without the <a> tag, you can use the {LinkURL} tag.

Syntaksi

{Link(
    id: int,
    type: string
)}

Näkyvyys

Toimii näkyvyydessä: globaali

It is possible to use global visibility tags in any page template and within any tag.

Attribuutit

id:

A target page ID number.

Allowed values: a page ID number.

type:

Target page's content type.

Allowed values:

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.'