Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Ordered list

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:Ordered list/doc)
Latest comment: 1 year ago by Closed Limelike Curves in topic Countdown list

Not working

[edit]

{{Ordered list|type=lower-roman|First|Second|Third}} produces

  1. First
  2. Second
  3. Third

which appears here (Firefox) as

  • First
  • Second
  • Third

What am I missing? -- Michael Bednarek (talk) 05:20, 24 November 2013 (UTC)Reply

Module:List seems to be broken. I've raised the issue there. Edokter (talk) — 13:01, 24 November 2013 (UTC)Reply
Sorry, that was my fault - I introduced a variable clash while trying to tidy up the code. Should be fixed now. — Mr. Stradivarius ♪ talk ♪ 13:26, 24 November 2013 (UTC)Reply

Speaking of not working, I was just fooling around with this in a sandbox. I couldn't get |type= to work together with |start= each time. I set a start point in a numerically ordered list and it worked just fine. I didn't get the same results with upper alpha order; no matter what I did, it started at "A." instead of at another letter of my choosing, which was what I was striving for in this case. RadioKAOS / Talk to me, Billy / Transmissions 11:21, 12 November 2015 (UTC)Reply

You have to use a number for the start value, even if the type is not numerical. So to start with "C", use |start=3. -- [[User:Edokter]] {{talk}} 11:47, 12 November 2015 (UTC)Reply

Negative numbers

[edit]

Please format negative numbers with correct typographic minuses (−) instead of hyphens (-). — Mikhail Ryazanov (talk) 01:44, 28 February 2017 (UTC)Reply

I'd like bold for the list_style_type but not the item_style value

[edit]

e.g.
font-weight:bolder for 1 but not 'first'
font-weight:bolder for 2 but not 'second'
Kangaroo caught (talk) 03:15, 3 February 2018 (UTC)Reply

Display error on mobile

[edit]

On the mobile site (both Chrome Desktop and Chrome Mobile), only the first paragraph is correctly indented. On closer inspection, only the first paragraph is wrapped inside <dl>, which is causing the error. Example:

  1. Entry 1
    Paragraph 1 (correctly indented)
  2. Entry 2
    Paragraph 2 (no indentation)
  3. Entry 3
    Paragraph 3

- intforce (talk) 12:47, 20 January 2021 (UTC)Reply

See Violin Sonata No. 1 (Fauré) in mobile view. -- Michael Bednarek (talk) 12:59, 20 January 2021 (UTC)Reply

Countdown list

[edit]

Any way to make the list count down backwards (3, 2, 1, 0)? – Closed Limelike Curves (talk) 20:21, 12 January 2025 (UTC)Reply

<ol reversed> <li>Line 1</li> <li>Line 2</li> <li>Line 3</li> </ol>

  1. Line 1
  2. Line 2
  3. Line 3
HTH. -- Michael Bednarek (talk) 00:23, 13 January 2025 (UTC)Reply
This is great, thank you! – Closed Limelike Curves (talk) 02:53, 13 January 2025 (UTC)Reply