Template:PrevLink

From OWASP
Revision as of 12:48, 8 September 2010 by Thomas Herlea (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Generates a "Prev" link to the URL/page given in the first parameter with a link label equal to the value of the second parameter, if present, otherwise with a link label equal to the value of the first parameter. If the first parameter is absent, the label [This is the first page] is generated.

Usage

{{PrevLink|link|label}}

Code

{{ #if: {{{1|}}}
   | [[{{{1}}}|««{{{2|{{{1}}}}}}««]]
   | [This is the first page]
}}