Wikibooks:Templates/Navigation

From Wikibooks, open books for an open world
Jump to: navigation, search
Module contents Maintenance Wikibooks community

Book information | General | Sources | Links | Navigation | Files | Media

Maintenance | Licensing | Deletion | Stubs

User messages | User notices | User pages | Discussion | Featured books | Policies/Guidelines

Page navigation

The MediaWiki software automatically generates a table of contents on pages with several sections. These appear by default right before the first section. Floating these to either side is easy to do using HTML markup, but to simplify matters further Wikibookians can use these templates to automatically generate the necessary code.

The "compact" templates work on pages that have sections with single, upper-case characters.

Markup Display
{{TOCright}}
{{CompactTOC8}}
Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
{{CompactTOC8|side=yes}}
Contents:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
{{CompactTOC8|center=yes}}
Contents
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
{{CompactTOC8|top=yes}}
Contents
Top   A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
{{CompactTOC8|num=yes}}
Contents
0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
{{CompactTOC8|side=yes|center=yes|num=yes|top=yes}}
Contents:
Top   0–9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Book navigation

See Category:Navigational templates for a more extensive list.

While wikibooks are not made of paper, many are read in a linear fashion. Sometimes books create their own navigation templates, but these are a great starting point for creating a link between pages.

Markup Display
{{Simple Page Navigation|BookName=[[Wikibooks:Templates]]|CurrentPage=Navigation|PrevPage=[[Wikibooks:Templates/Deletion|Deletion]]|NextPage=[[Wikibooks:Templates/User pages|User pages]]}}
« Wikibooks:Templates
Navigation
»
Deletion User pages
{{Navigate|Book=Wikibooks:Templates|Curr=Navigation|Prev=Deletion|Next=User pages}}
Wikibooks:Templates
Deletion Navigation User pages
{{Navigation|previous=Deletion|next=User pages}}
← Deletion Navigation User pages →
{{TopNav|prev=Deletion|next=User pages}}

← Deletion | User pages →

{{auto navigation|User pages|Deletion}}

Next Page: User pages | Previous Page: Deletion

Home: Wikibooks:Templates

{{chapter navigation|Deletion|User pages}} Deletion · User pages
Deletion · Templates · User pages