This high-risk template is indefinitely protected from editing to prevent vandalism.

Template:Alphabetical

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Template documentation[edit] [history] [purge]

This template adds a book to the appropriate alphabetical category for use with WB:ABC.

Usage

Place this on a book's main page. Do not put it on any subpages.

{{alphabetical|A}} adds a book to Category:Alphabetical/A
{{alphabetical|abc}} adds a book to Category:Alphabetical/A
{{alphabetical}} adds a book beginning with "A" to Category:Alphabetical/A

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Alphabetical

This template adds a book to the appropriate alphabetical category for use with https://en.wikibooks.org/wiki/Wikibooks:Alphabetical_classification. Place this on a book's main page; do not put it on any subpages.

Template parameters

ParameterDescriptionTypeStatus
key1

The key to sort the page with. It can be a single letter, or a full word (in which case only the first letter will be considered anyway). By default the title of the page will be used.

Lineoptional

See also

  • {{subjects}} – classifies book by subject matter
  • {{status}} – classifies book by completion status