الگو:Bare anchored list/doc

از ویکی‌وحدت
< الگو:Bare anchored list
نسخهٔ تاریخ ‏۹ سپتامبر ۲۰۲۰، ساعت ۲۳:۰۲ توسط fa>Wikivahdat (←‏Usage)
(تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)

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
|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