Date: Fri, 10 Sep 2010 13:46:13 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
X-Rcs-Id: $Id: Help%2FPrevNextPlugin 7682 2010-09-10 12:03:36Z vargenau $
Content-Type: application/x-phpwiki;
  pagename=Help%2FPrevNextPlugin;
  flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
  markup=2;
  charset=UTF-8
Content-Transfer-Encoding: binary

The **~PrevLink** [[Help:WikiPlugin|plugin]] allows to display Previous and Next buttons on a wiki page for easy navigation.

== Usage ==
{{{
<<PrevNext prev=PrevLink next=NextLink>>
}}}

== Arguments ==

{| class="bordered"
|-
! Argument
! Description
! Default value
|-
| **prev**
| Link to the **Previous** page
| empty
|-
| **next**
| Link to the **Next** page
| empty
|-
| **up**
| Link to the **Up** page
| empty
|-
| **contents**
| Link to the **Contents** page
| empty
|-
| **index**
| Link to the **Index** page
| empty
|-
| **first**
| Link to the **First** page
| empty
|-
| **last**
| Link to the **Last** page
| empty
|-
| **order**
| Reorder the buttons: comma-delimited
| empty
|-
| **align**
| Can be //left//, //right// or //center//
| left
|-
| **style**
| Can be //button// or //text//
| button
|-
| **class**
| Can be //wikiaction// or another class
| wikiaction
|}

== Examples ==

{{{
<<PrevNext prev="Help/CreateTocPlugin" next="Help/MediawikiTablePlugin">>
}}}

<<PrevNext prev="Help/CreateTocPlugin" next="Help/MediawikiTablePlugin">>

{{{
<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  contents="Help"
>>
}}}

<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  contents="Help"
>>

{{{
<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  contents="Help"
                  align="right"
>>
}}}

<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  contents="Help"
                  align="right"
>>

{{{
<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  contents="Help"
                  align="center"
>>
}}}

<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  contents="Help"
                  align="center"
>>

{{{
<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  up="Help"
                  style="text"
>>
}}}

<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  up="Help"
                  style="text"
>>

{{{
<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  index="Help"
>>
}}}

<<PrevNext prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  index="Help"
>>

{{{
<<PrevNext first="Help/AddCommentPlugin"
                  prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  last="Help/YouTubePlugin"
>>
}}}

<<PrevNext first="Help/AddCommentPlugin"
                  prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  last="Help/YouTubePlugin"
>>

{{{
<<PrevNext first="Help/AddCommentPlugin"
                  prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  last="Help/YouTubePlugin"
                  order="first,last,prev,next"
>>
}}}

<<PrevNext first="Help/AddCommentPlugin"
                  prev="Help/CreateTocPlugin"
                  next="Help/MediawikiTablePlugin"
                  last="Help/YouTubePlugin"
                  order="first,last,prev,next"
>>

== Author ==
* [[PhpWiki:ReiniUrban|Reini Urban]]

== See Also ==
* [PageGroup|Help:PageGroupPlugin], [[Help:WikiPlugin|plugin]] which automatically tries to extract the various links.

<noinclude>
----
[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
</noinclude>
