Go to main content

Link id

Contents

Syntax

<txp:link_id />

The link_id tag is a single tag which returns the numerical ID of the link. This tag is used in a ‘links’ type form or inside the linklist container tag to show information about the current link in the list.

Attributes

This tag has no attributes of its own. It accepts only the global attributes .

Examples

<txp:linklist category="dogs">
    Link:
    <a href="<txp:link_url />">
        <txp:link_name />
    </a>
    (id: <txp:link_id /> | category: <txp:link_category />)
</txp:linklist>

Other tags used: linklist, link_name, link_category.

Genealogy

Version 4.2.0

Tag support added.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)