%META:TOPICINFO{author="TWikiContributor" date="1608522233" format="1.1" version="$Rev$"}%
%META:TOPICPARENT{name="TWikiVariables"}%
#VarANCHORLINK
---+++ ANCHORLINK{} --  add anchor to create a deep #anchor link
%STARTSECTION{"description"}%
   * Add an anchor link to topic text, such as =%<nop>ANCHORLINK{"AnchorExample"}%=. When hovering over text where an anchor link has been added, a %PUBURL%/%SYSTEMWEB%/AnchorLinkPlugin/anchor-bg.gif icon will appear on the left side. Clicking on it will show the =#AnchorExample= in the browser URL bar for easy copy & paste. %IF{"'%INCLUDINGTOPIC%'!='AnchorLinkPlugin'" then="The =%<nop>ANCHORLINK{}<nop>%= variable is handled by the AnchorLinkPlugin." }%
   * Anchor links can be added to bullets, tables, etc, as in this example. %ANCHORLINK{"AnchorExample"}% However, they currently cannot be added to top level paragraphs. Anchor link IDs must be unique per page.
   * Anchor links are added automatically to headers by the AnchorLinkPlugin.
   * Syntax: =%<nop>ANCHORLINK{"id"}%=
   * Parameters:%STARTSECTION{parameters}%
     | *Parameter* | *Description* | *Default* | *Example* |
     | ="id"= | Identifier (name) of the anchor. Use only: =a-z=, =A-Z=, =0-9=, =_=, =-= | (required) | ="Progress"= |%ENDSECTION{parameters}%
   * Example: =%<nop>ANCHORLINK{"AnchorExample"}%=
   * Expands to embedded HTML: =&lt;a name="AnchorExample"&gt;&lt;/a&gt;=, along with logic to show/hide the anchor link icon %PUBURL%/%SYSTEMWEB%/AnchorLinkPlugin/anchor-bg.gif
   * Category: LinkingAndNavigationVariables, UIAndVisualizationVariables %ENDSECTION{"description"}%
   * Related: AnchorLinkPlugin, TWikiVariables
