Template:Alphabetical header

Revision as of 07:17, 15 November 2024 by BlackHawk (talk | contribs) (Created page with "<div class="tile" role="navigation" id="toc" style="text-align: center; margin: 1.5em auto; padding: 1em 2em; width: fit-content; max-width: initial"> '''Jump to'''<br/>{{#ifeq:{{lc:{{{nums}}}}}|no||# {{*}}}} A {{*}} B {{*}} C {{*}} D {{*}} E {{*}} F {{*}} G {{*}} H {{*}} I {{*}} J {{*}} K {{*}} L {{*}} M {{*}} N {{*}} O {{*}} P {{*}} Q {{*}} ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
This documentation is transcluded from Template:Alphabetical header/doc. [edit] [history] [purge]

This template creates an alphabetical table of contents bar for a page and removes the original table of contents.

Usage

{{Alphabetical header}}

To hide the link to the #-header use:

{{Alphabetical header|nums=no}}

To show the link to the Trivia header use:

{{Alphabetical header|trivia=yes}}

See also

  • Category ABC - A similar style of template, which provides a navigation bar to jump through large categories.

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

Creates an alphabetical table of contents bar for a page and removes the original table of contents

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
numsnums

Hides the link to the #-header

Example
no
Stringoptional
triviatrivia

Show the link to the Trivia header

Example
yes
Stringoptional