• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Bare anchored list

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]

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.

Inserting an element in the middle of a list will break any backlinks to later elements of the list. So don't use this template for such lists; only use it if either the list is complete or any additions are guaranteed to be at the end.

Usage

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

Example:

  1. First entry
  2. Second entry
  3. and so on
  4. ...
  5. Last entry

Up to 99 entries are supported.

See also

  • {{Anchored list}}
  • {{Anchor}}
  • {{Glossary}}
  • {{Shortcut}}
  • {{Visible anchor}}
The above documentation is transcluded from Template:Bare anchored list/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Bare_anchored_list&oldid=6072"
Category:
  • List formatting and function templates
Last edited on 4 August 2017, at 17:12

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 4 August 2017, at 17:12.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop