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 19: Line 19:
 
:::<code><nowiki>table or other content</nowiki></code></br>
 
:::<code><nowiki>table or other content</nowiki></code></br>
 
:::<code><nowiki></div></nowiki></code>
 
:::<code><nowiki></div></nowiki></code>
 
::::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. [[User:Harakoni|Harakoni]] ([[User talk:Harakoni|talk]]) 02:44, 5 September 2020 (UTC)
 
 
:::::Adding
 
:::::<code><nowiki><br style="clear:both" /></nowiki></code>
 
:::::Prevents the content after the table from getting sandwiched between the table and the infobox and preserves formatting. [[User:Harakoni|Harakoni]] ([[User talk: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. [[User:Harakoni|Harakoni]] ([[User talk: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 [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>table or other content</nowiki></code>
 
:<code><nowiki></li></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 (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".
 
 
--[[User:Vercinger|Vercinger]] ([[User talk:Vercinger|talk]]) 21:18, 15 February 2022 (UTC)
 
 
: I'm not in a position to check in game atm, but do other beds or structures have different values? Because if Hospital Beds have a modifier and everything else doesn't '''OR''' everything else has the same value and only the Hospital Bed is different, then its not super necessary in the infobox and can instead be noted in the summary section. If all the beds have different values for example, then it will have to be added to the Template manually, but I can do that if you can provide the term the game uses. [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]]) 04:36, 16 February 2022 (UTC)
 
 
:: Only the Hospital Bed and Vitals Monitor have that modifier. But it just looks wrong to not have it in the summary box for easy comparison with the other beds. Someone who's quickly scanning through the pages to check if there's any benefit to tending wounds on Hospital Beds vs normal beds could easily miss it. I certainly did the first time.
 
 
:: The ingame term is "Medical tend quality offset". In the files it's "MedicalTendQualityOffset".
 
 
:: Thanks!
 
 
:: [[User:Vercinger|Vercinger]] ([[User talk:Vercinger|talk]]) 16:43, 17 February 2022 (UTC)
 
 
== Harvest Yield and some others aren't aware of multipliers at [[AI_Storytellers#Difficulty]] ==
 
 
[[User:Pawn|Pawn]] ([[User talk:Pawn|talk]]) 00:37, 24 September 2022 (UTC)
 
 
== Apparel properties ==
 
 
It would be nice to add support for these apparel properties in the infobox, with underlying SMW properties:
 
* countsAsClothingForNudity (boolean) – the wiki currently doesn't show this information at all for most apparel, and for some it relies on prose, precluding the use of SMW queries which would be useful in other articles covering clothing-related precepts, the Naked Speed gene etc.
 
* developmentalStageFilter (list) – the wiki does include a comprehensive list of items wearable by children but in its current state it must be maintained by hand, there's no reason not to use an SMW property here - [[User:D.C.Capybara|D.C.Capybara]] ([[User talk:D.C.Capybara|talk]]) 15:07, 25 October 2023 (UTC)
 
 
::These were good ideas. Implemented. lifestage list was placed on the [[children]] page replacing the hand-made one. Nudity needs more explanation because of how different types of nudity require have different checked coverages, but the property is set up. P.s. You can sign posts with 4 ~'s in a row like this <nowiki>~~~~</nowiki> -  [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]]) 11:53, 28 October 2023 (UTC)
 
 
== Weapon and pawn attacks ==
 
 
Is there any particular reason why we can't merge attack1dmg with meleeattack1dmg etc? --[[User:Ickputzdirwech|Ickputzdirwech]] ([[User talk:Ickputzdirwech|talk]]) 10:59, 5 January 2024 (UTC)
 
 
:Besides the work to roll it out and checking/fixing any templates/pages might rely on there being a difference to differentiate weapons and animals, I don't see why not they couldn't be merged - [[User:Harakoni|Harakoni (Wiki Moderator)]] ([[User talk:Harakoni|talk]]) 04:23, 6 January 2024 (UTC)
 

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)