Template:Alphabetical/doc
This is a documentation subpage for Template:Alphabetical It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on 5,000+ pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template adds a book to the appropriate alphabetical category for use with WB:ABC.
Usage
editPlace 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
editThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
key | 1 | 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. | Line | optional |