Difference between revisions of "Template talk:Infobox main"
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 | + | :<code><nowiki><div><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 | + | :<code><nowiki></li></div></nowiki></code> |
− | |||
− | :It is a hack job | + | :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 (UTC) |
Revision as of 11:02, 1 January 2021
Min. Handling Skill
The minimum handling skill for most animals is out of date. This is likely because there is no actual handling skill property in the XML files, so no one bothers to dig into the dev menus in-game to update them.
I am going to remove the handleskill property from the wiki and replace it as a derivative of wildness, which seems to be what it is based on. This will likely need to be updated in the future if wildness levels are tweaked or more animals are added but for now it will be strictly based on the cut-offs of the current animals in the 1.1 version of the game.
--Rookwood (talk) 15:51, 1 July 2020 (UTC)
Play Nice with other tables
Is there a way to cause let the info box and other tables stack horizontally properly? It looks fine on pages that have a lot of text, but on short pages the tables (e.g. material and quality tables) end up pushed down to below the end of the main infobox leaving a massive white space in the middle of the article for example War mask. Is there a way to edit either this or the other tables to prevent this? Harakoni (talk) 02:08, 14 August 2020 (UTC)
- Much appreciated! If it helps, I think its an issue with the Template:STDT tables rather than the infobox itself, wikitable class tables don't have the same issue. Harakoni (talk) 13:53, 17 August 2020 (UTC)
<div style="float: left;">
table or other content
</div>
- 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 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.
<div><li style="display: inline-table;">
table or other content
</li></div>
- 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. Harakoni (talk) 10:55, 1 January 2021 (UTC)