Template talk:Parties

Latest comment: 4 years ago by PPEMES in topic Code format help needed

Code format help needed

edit

Does anybody know why one of the sections inevitably seems to break into new paragraphs in the template? PPEMES (talk) 11:12, 7 February 2020 (UTC)Reply

A couple of us have looked at this without coming up with a solution yet. I just wanted to let you know your question is not being ignored.
Specifically what you are asking about is how the subgroup under "Western Dress Clothes" is not getting collapsed into a bullet-separated list like the other subgroups are. Is that correct? — jmcgnh(talk) (contribs) 16:56, 7 February 2020 (UTC)Reply
That looks like the problem to me. It displays correctly when there are only level 1 bullets in that subgroup, but adding a level 2 bullet (**) breaks the list for that item, it's siblings, and it's parent. The template also displays correctly if you remove a significant portion of the other lists, like all of the subgroups under types. My first guess was that we were hitting a transclusion limit, but we're nowhere near any of those. --AntiCompositeNumber (talk) 17:37, 7 February 2020 (UTC)Reply
@PPEMES and Jmcgnh: Ugh, it's a parser issue, somewhere, somehow. HTML lists should be <ul><li>foo</li><li>bar</li></ul>, but the parser left out the <ul></ul> for the 1-*-level list. That meant the CSS styling to make the list appear inline never got applied, because there was no list to apply it to. I've filed phab:T244593 for this issue and I applied a workaround to the template to get it displaying correctly for now. --AntiCompositeNumber (talk) 18:05, 7 February 2020 (UTC)Reply
Thanks for looking into it! PPEMES (talk) 18:38, 7 February 2020 (UTC)Reply