Wikibooks:Templates/Navigation

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search
Module contents Maintenance [edit] Wikibooks community

General | Sources | Links | Navigation | Files | Media files

Maintenance | Licensing notices | Deletion

Users | User notices | Project

[edit] 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
{{TOC}}

Contents

{{CompactTOC}}
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
{{CompactTOC2}}
Table of 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

{{CompactTOC3}}
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

[edit] 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:Template messages/Deletion|Deletion]]|NextPage=[[Wikibooks:Templates/User namespace|User namespace]]}}
« Wikibooks:Templates
Navigation
»
Deletion User namespace
{{Navigate|Book=Wikibooks:Templates|Curr=Navigation|Prev=Deletion|Next=User namespace}}
Wikibooks:Templates
Deletion Navigation User namespace
{{NextPrev|[[Wikibooks:Templates]]|[[Wikibooks:Templates/Deletion|Deletion]]|[[Wikibooks:Template messages/User namespace|User namespace]]}}

Previous: Deletion
Current: Templates/Navigation
Next: User namespace
Back to Wikibooks:Template messages

{{Navigation|Book=Wikibooks:Templates|previous=Deletion|current=Navigation|next=User namespace}}
← Deletion Navigation User namespace →
{{TopNav|prev=Deletion|next=User namespace}} This template won't show here. Please see the template page for an example.
{{auto navigation|User namespace|Deletion}}

Next Page: User namespace | Previous Page: Deletion

Home: Wikibooks:Templates

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