Editing Template talk:Infobox main
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 31: | Line 31: | ||
:Ok so the solution above did work mostly, but had issues when you had an infobox or ToC that was longer than the single STDT table. IF you did not include the br with the clear, then any content after the table (inlcuding headings) would get sandwhiched between the table and the infobox. If you did include it, then there would be a wall of vertical whitespace for the remaining length of the infobox or ToC, and then it would work as expected. AS seen [https://rimworldwiki.com/index.php?title=Body_Parts&oldid=77897 here], this isn't exactly a good look. Until someone that knows about the .css and wiki formatting better than I do can come and get STDT tables to act like the wikitable class tables, I have a different solution. | :Ok so the solution above did work mostly, but had issues when you had an infobox or ToC that was longer than the single STDT table. IF you did not include the br with the clear, then any content after the table (inlcuding headings) would get sandwhiched between the table and the infobox. If you did include it, then there would be a wall of vertical whitespace for the remaining length of the infobox or ToC, and then it would work as expected. AS seen [https://rimworldwiki.com/index.php?title=Body_Parts&oldid=77897 here], this isn't exactly a good look. Until someone that knows about the .css and wiki formatting better than I do can come and get STDT tables to act like the wikitable class tables, I have a different solution. | ||
− | :<code><nowiki><div><li style="display: inline-table;"></nowiki></code> | + | :<code><nowiki><div><ul></nowiki></code> |
+ | :<code><nowiki><li style="display: inline-table;"></nowiki></code> | ||
:<code><nowiki>table or other content</nowiki></code> | :<code><nowiki>table or other content</nowiki></code> | ||
− | :<code><nowiki></li></div></nowiki></code> | + | :<code><nowiki></li></nowiki></code> |
+ | :<code><nowiki></ul></div></nowiki></code> | ||
− | :It is a hack job, and will cause tables to appear inline if there is not a break or other content between them but its still an improvement. Going to start implementing it slowly, and see if there is an issue with this attempt at a fix as well. Preferably we'd just make STDT tables behave but I've made 0 progress on doing so, so this will have to do in the mean time. [[User:Harakoni|Harakoni]] ([[User talk:Harakoni|talk]]) 10:55, 1 January 2021 | + | :It is a hack job, does slighlty indent the table, and will cause tables to appear inline if there is not a break or other content between them but its still an improvement. Going to start implementing it slowly, and see if there is an issue with this attempt at a fix as well. Preferably we'd just make STDT tables behave but I've made 0 progress on doing so, so this will have to do in the mean time. [[User:Harakoni|Harakoni]] ([[User talk:Harakoni|talk]]) 10:55, 1 January 2021 (UTC) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |