Loading...
 

Plugin A Link

This wiki plugin, available since Tiki1, creates a link to an anchor in a wiki page. Use in conjunction with PluginAname, which creates the anchor, or link to a wiki heading.

 Note
Starting with Tiki2, Tiki automatically creates an anchor for each wiki heading. You can use the PluginAlink to link to any heading on a wiki page without having to use a corresponding PluginAname.

Parameters

Create a link to an anchor
Introduced in Tiki 1. Required parameters are in bold.
Go to the source code
Preferences required: wikiplugin_alink

Parameters Accepted Values Description Default Since
(body of plugin) Anchor link label.
aname The anchor name as defined in the Aname plugin. 1
pagename pagename The name of the wiki page containing the anchor. If empty, the anchor name will be searched for on the wiki page where the plugin is used. 1

Example

Aname Plugin Usage

{ANAME()}

anchorname <--put the name of the anchor here. Use this same name for the aname= parameter in the Plugin Alink (see just below).

{ANAME}

ANAME example: {ANAME()}anchorname{ANAME}

{ALINK(

aname=anchorname <-- put here the name of the anchor you created using the Plugin Aname!

)}

link text <-- put here the text to appear as the link.

{ALINK}

ALINK example: {ALINK(aname=anchorname)}link text{ALINK}

Demonstration

To jump down to the anchor at the bottom of the page click HERE. <-- Here is where I put the ALINK plugin in this page.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Here is a second link to the same anchor at the bottom of the page. Again, I used the ALINK plugin.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

.
.
.
.
.
.
.
.
.
.
The anchor is here. <-- I put the ANAME plugin at the beginning of this line. Now you can click HERE to jump to the anchor I put at the top of the page (you can't see where that one is unless you look into the page editor 😀)

List Slides