Difference between revisions of "Template:Bare anchored list/doc"

From blackwiki
Jump to navigation Jump to search
imported>Manul
(copied from Template:anchored list/doc with modifications)
 
imported>SMcCandlish
(more specific cat.)
Line 31: Line 31:
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:list templates]]
+
[[Category:List formatting and function templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 00:05, 6 September 2016

This template can be used to create an ordered list which generates numbered HTML anchors for every bullet point. This makes it much easier to maintain lists where anchors to individual entries are required.

The generated anchors are named "1", "2", etc., so naturally there should be only one instance of {{bare anchored list}} per page.

Usage

{{bare anchored list
|First entry
|Second entry
|So on
...
|Last entry
}}

Up to 99 entries are supported.

See also