Difference between revisions of "Template talk:Infobox main"

From RimWorld Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 4 users not shown)
Line 56: Line 56:
  
 
:: [[User:Vercinger|Vercinger]] ([[User talk:Vercinger|talk]]) 16:43, 17 February 2022 (UTC)
 
:: [[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)

Latest revision as of 04:24, 6 January 2024

Min. Handling Skill[edit]

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[edit]

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?[edit]

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)

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. Harakoni (Wiki Moderator) (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!
Vercinger (talk) 16:43, 17 February 2022 (UTC)

Harvest Yield and some others aren't aware of multipliers at AI_Storytellers#Difficulty[edit]

Pawn (talk) 00:37, 24 September 2022 (UTC)

Apparel properties[edit]

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 - 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 ~~~~ - Harakoni (Wiki Moderator) (talk) 11:53, 28 October 2023 (UTC)

Weapon and pawn attacks[edit]

Is there any particular reason why we can't merge attack1dmg with meleeattack1dmg etc? --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 - Harakoni (Wiki Moderator) (talk) 04:23, 6 January 2024 (UTC)