Template:GIMP/Nav

From Wikibooks, open books for an open world
Jump to: navigation, search

Contents


TODO

Editor's note
The navigation template currently used throughout the GIMP book is {{chapter navigation}}.

This is a navigation template for the GIMP book.

Preview:

Gtk-go-back-ltr.svg Previous Page: GIMPContents | Next Page: GIMP Gtk-go-forward-ltr.svg

Code: {{GIMP/Nav|Cover|GIMP|Cover|GIMP}}

Attributes in order:

  1. Address of the previous page, omitting the 'The GIMP/' part. ((example #1)skip attribute #1 and #2, when the page is the first page in the book)
  2. Name of the previous page ((example #3)if the attribute #2 is skipped, then attribute #1 is used)
  3. Address of the next page, omitting the 'The GIMP/' part. ((example #2)skip attribute #3 and #4, when the page is the last page in the book)
  4. Name of the next page ((example #4)if the attribute #4 is skipped, then attribute #3 is used)


Example #1 - first page:

Code: {{GIMP/Nav|||Cover|GIMP}}

Contents | Next Page: GIMP Gtk-go-forward-ltr.svg

Example #2 - last page:

Code: {{GIMP/Nav|Cover|GIMP}}

Gtk-go-back-ltr.svg Previous Page: GIMPContents


Example #3 - skipping 2nd attribute:

Code: {{GIMP/Nav|Cover}}

Gtk-go-back-ltr.svg Previous Page: CoverContents

Example #4 - skipping 4th attribute:

Code: {{GIMP/Nav|||Cover}}

Contents | Next Page: Cover Gtk-go-forward-ltr.svg