Template:List TOC Letters

From Second Life Wiki
Jump to navigation Jump to search
[Edit] [🔄Purge] Template-info.png Template documentation


Similar to {{List TOC}}, this template creates a horizontal table of contents with links from A to Z (controllable) and four optional rows of links. It is intended primarily for list articles where the standard TOC would be unwieldy. The template is styled with the hlist class for accessibility and has few superfluous frills.

Unlike {{List TOC}}, the A–Z links do not appear by default. They must be specified as parameters x1 through x26 in order to appear. Additionally, parameters u1 through u4 can be defined to appear before the x* parameters, and z1 through z4 to appear after them.

Two rows to appear above the x* parameters can be defined using a1 through a20 and b1 through b20 and two rows to appear below can be defined using c1 through c20 and d1 through d20.

With the exception of the u* and z* parameters, values are assumed to be anchors on the current page, and are transformed into [[#value|value]] links.

The u* and z* parameter values are rendered as-is, so if they are to be links, you must include proper link markup (i.e. [[value]]).

Blank parameter list



{{List TOC Letters
|u1=[[List of colors: A–F|A–F]]
|z2=[[List of colors: N–Z|N–Z]]