Template:Endflowlist and Template:Hlist-reset: Difference between pages
(Difference between pages)
m (1 revision imported) |
mp>The Earwig m (Protected "Template:Hlist-reset": Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
||
Line 1: | Line 1: | ||
< | <includeonly>counter-reset: listitem {{#expr: {{{1|1}}} - 1}};</includeonly><noinclude> | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 06:23, 14 December 2015
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 ...