< Wikibooks:Templates
Module contentsMaintenanceWikibooks community

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

Maintenance | Licensing | Deletion | Stubs

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

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}}
{{CompactTOC8|side=yes}}
{{CompactTOC8|center=yes}}
{{CompactTOC8|top=yes}}
{{CompactTOC8|num=yes}}
{{CompactTOC8|side=yes|center=yes|num=yes|top=yes}}

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]]}}
{{Navigate|Book=Wikibooks:Templates|Curr=Navigation|Prev=Deletion|Next=User pages}}
{{Navigation|previous=Deletion|next=User pages}}
{{TopNav|prev=Deletion|next=User pages}}

← Deletion | User pages →

{{simple chapter navigation|previous=User pages|next=Deletion}}
{{auto navigation|User pages|Deletion}}
{{chapter navigation|Deletion|User pages}}
{{chapter navigation with TOC|Deletion|User pages}}

See also

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.