Template talk:Parties

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
WikiProject Culture    (defunct)
WikiProject iconThis template is within the scope of WikiProject Culture, a project which is currently considered to be defunct.
 
WikiProject Sociology (Rated Template-class)
WikiProject iconThis template is within the scope of WikiProject Sociology, a collaborative effort to improve the coverage of sociology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 
WikiProject Dance (Rated Template-class)
WikiProject iconThis template is within the scope of WikiProject Dance, a collaborative effort to improve the coverage of Dance and Dance-related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 
WikiProject Spirits    (Inactive)
WikiProject iconThis template is within the scope of WikiProject Spirits, a project which is currently considered to be inactive.
 
WikiProject Food and drink (Rated Template-class)
WikiProject iconThis template is within the scope of WikiProject Food and drink, a collaborative effort to improve the coverage of food and drink related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.
 
 

Code format help needed[edit]

check-mark
This help request has been answered. If you need more help, you can ask another question on your talk page, contact the responding user(s) directly on their user talk page, or consider visiting the Teahouse.

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)

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)
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)
@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)
Thanks for looking into it! PPEMES (talk) 18:38, 7 February 2020 (UTC)