Talk:Weapons/Extraneous row in melee weapons table

From RimWorld Wiki
< Talk:Weapons
Revision as of 20:54, 19 January 2017 by Jimyoda (talk | contribs) (New thread: Extraneous row in melee weapons table)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I see Neolithic Weapons is listed in a row on the melee weapons table. I'll try to fix it (it won't be quick or simple), but will explain what's going on here. The page Neolithic Weapons is transcluding the infoboxes of various weapons. Infoboxes set properties on whatever page they're displayed on. The melee weapons table is using a query (where melee cooldown base is greater than zero) to figure out what items/pages to display. That query result includes the Neolithic Weapons page, because it technically has the melee cooldown property (multiple in fact, one for each weapon displayed). The fix is to adjust the query such that it excludes the Neolithic Weapons page. Even that is not straight-forward, but believe I know how to do it. A few other pages run into this issue too. That's why I started moving away from transcluding infoboxes on the Production page.