Template talk:Ordered list: Difference between revisions
→Negative numbers: new section |
|||
Line 13: | Line 13: | ||
Please format negative numbers with correct typographic minuses (−) instead of hyphens (-). — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 01:44, 28 February 2017 (UTC) |
Please format negative numbers with correct typographic minuses (−) instead of hyphens (-). — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 01:44, 28 February 2017 (UTC) |
||
== I'd like bold for the list_style_type but not the item_style value == |
|||
e.g.<br /><code>font-weight:bolder</code> for '''1''' but not {{'}}first{{'}}<br /> |
|||
<code>font-weight:bolder</code> for '''2''' but not {{'}}second{{'}}<br />[[User:Kangaroo caught|Kangaroo caught]] ([[User talk:Kangaroo caught|talk]]) 03:15, 3 February 2018 (UTC) |
Revision as of 03:15, 3 February 2018
Not working
{{Ordered list|type=lower-roman|First|Second|Third}}
produces
- First
- Second
- Third
which appears here (Firefox) as
- First
- Second
- Third
What am I missing? -- Michael Bednarek (talk) 05:20, 24 November 2013 (UTC)
- Module:List seems to be broken. I've raised the issue there. — Edokter (talk) — 13:01, 24 November 2013 (UTC)
- 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)
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)
- 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)
Negative numbers
Please format negative numbers with correct typographic minuses (−) instead of hyphens (-). — Mikhail Ryazanov (talk) 01:44, 28 February 2017 (UTC)
I'd like bold for the list_style_type but not the item_style value
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)