Template:Hlist-reset/doc

From IxWiki
Revision as of 11:55, 25 April 2020 by mp>Vanisaac (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(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 
...