4W WebMerge Tag Reference

WM-LinkIndexPrevious

Syntax
[WM-LinkIndexPrevious] Link Label[/WM-LinkIndexPrevious]

Example
[WM-LinkIndexPrevious]Go to Previous Category[/WM-LinkIndexPrevious]

Description
This tag is only used in index templates.

The HTML between [WM-LinkIndexPrevious] and [/WM-LinkIndexPrevious] is replaced with a link to the first index page generated.

If the current index page being generated is the first one, the text between the opening and closing tags is not written to the generated page.

The WM-LinkIndexPrevious tag provides a way to navigate among multiple index pages.

All navigation tags allow you to include attributes in the tag which will be included in the generated link. For example, to specify a target in a navigation tag you'd write:

   [WM-LinkIndexPrevious: target="_blank"]Prev Page[/WM-LinkIndexPrevious]

...which would generate:

   <a href="page002.html" target="_blank">Prev Page</a>


Introduced in version 2.0.
Version 2.2 introduced support for link attributes.