Template talk:Anchored list

(Redirected from Template talk:Anchored list/sandbox)
Latest comment: 12 years ago by Gracefool in topic Invalid markup!

Table version?

edit

Is there something similar for tables? Such a template would be useful at Special classes of semigroups for instance. Tijfo098 (talk) 23:42, 5 May 2011 (UTC)Reply

Invalid markup!

edit

The HTML id element requires that all IDs start with _ or an alphabetic character. You can't use just numbers, or it will not work properly cross-browser and cross-platform. The needs to be change to something like id="al1", id="al2", etc. — SMcCandlish   Talk⇒〈°⌊°〉 Contribs. 09:13, 13 February 2012 (UTC)Reply

Quite right. In any case they shouldn't be simple numbers, since that would make them more likely to be the same as existing ids. Also this means that you can't use this template more than once on the same page.
So I've fixed it using id="alistx-2" where x is an optional parameter so you can use the template more than once on the same page. Now I'll go notify the 6 people who've used it. ··gracefool 21:47, 21 June 2012 (UTC)Reply