Template:Hlist-reset/doc

From IxWiki
Revision as of 20:00, 31 August 2021 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template allows you to reset the start value inside a horizontal ordered list.

Usage

Call this template from within a style attribute:

<div class="hlist">
<ol start="3" style="{{hlist-reset|3}}">
<li> Third list item 
...

It can also be used inside a list item in wiki markup:

<div class="hlist">
# <li start="5" style="{{hlist-reset|5}}"> Fifth list item 
...