Template talk:Infobox main

From RimWorld Wiki
Revision as of 21:19, 15 February 2022 by Vercinger (talk | contribs) (formatting)
Jump to navigation Jump to search

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)

I'll see if I can fix that. ~ Jimyoda (talk) 21:42, 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)
Should look better now. I put the STDT table in a div to make it float. Only did the one page for now. ~ Jimyoda (talk) 20:20, 4 September 2020 (UTC)
<div style="float: left;">
table or other content
</div>
Awesome, thank you. I'll see about adding it to the templates then, rather than adding to every page. Page specific tables will still have to be implemented individually. Harakoni (talk) 02:44, 5 September 2020 (UTC)
Adding
<br style="clear:both" />
Prevents the content after the table from getting sandwiched between the table and the infobox and preserves formatting. Harakoni (talk) 03:30, 5 September 2020 (UTC)
Arg never mind, this just recreates original issue but with content below being pushed below the infobox as well. Will keep experimenting. Harakoni (talk) 03:36, 5 September 2020 (UTC)


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)

How do I add valid parameters to the infobox?

I just can't find info on that anywhere, beyond other wikis saying to suggest new parameters on the template's talk page. So here I am.

The Hospital bed page is missing its +10% tend quality offset from the infobox, because there's no valid parameter for it. It actually is listed there, as "|medical qualty offset = 0.1", but it doesn't show up on the page. I tried fixing the typo, but still nothing.

If someone is going to add it, it's probably best to use a less ambiguous name. Probably just "Medical Tend Quality".

--Vercinger (talk) 21:18, 15 February 2022 (UTC)