This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Difference between revisions of "Template:NextLink"
From OWASP
(Uses the second parameter as label if present, otherwise the first parameter is used as label) |
(Added documentation) |
||
Line 1: | Line 1: | ||
− | [[{{{1}}}| »»{{{2|{{{1}}}}}}»»]] | + | <noinclude>==Purpose== |
+ | Generates a "Next" 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. | ||
+ | |||
+ | ==Usage== | ||
+ | <pre>{{NextLink|link|label}}</pre> | ||
+ | |||
+ | ==Code== | ||
+ | <pre>[[{{{1}}}|&raquo;&raquo;{{{2|{{{1}}}}}}&raquo;&raquo;]]</pre> | ||
+ | </noinclude> | ||
+ | <includeonly> | ||
+ | [[{{{1}}}|»»{{{2|{{{1}}}}}}»»]] | ||
+ | </includeonly> |
Revision as of 15:08, 8 September 2010
Purpose
Generates a "Next" 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.
Usage
{{NextLink|link|label}}
Code
[[{{{1}}}|»»{{{2|{{{1}}}}}}»»]]