Template:Hlist-reset/doc: Difference between revisions

From IxWiki
Jump to navigation Jump to search
mp>Vanisaac
m →‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
m 1 revision imported
 
(No difference)

Latest revision as of 20:00, 31 August 2021

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