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

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(more specific cat.)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 29: Line 29:
 
* {{tl|Visible anchor}}
 
* {{tl|Visible anchor}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:List formatting and function templates]]
 
[[Category:List formatting and function templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 23:38, 23 April 2020

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