Template:PageSwitcher/doc

An icon from the Wikimedia Codex library.
This is a documentation subpage for Template:PageSwitcher
It contains usage information, categories, and other content that is not part of the original Template page.
This template is generated in Lua using Module:PageSwitcher

This module is invoked by Template:PageSwitcher.

Usage instructions

When switching between a namespace of a page the full page name and label can be omitted.
Note: this only switches the namespace it does NOT return to the root page of a subpage.

|page1  = Codex:

When switching between a subpage of a page the full page name and label can be omitted.

|page1  = /doc

Pages and labels are numbered sequentially.

{{PageSwitcher
|pagex  = 
|labelx = 
|pagey  = 
|labely = 
}}

Example

{{PageSwitcher
|page1  = Module:PageSwitcher
|page2  = Module:PageSwitcher/doc
|label2 = Docs
|page3  = Codex:
|page4  = /subpage
}}