Template talk:Sound table

Excessive number of columns
This template currently has an excessive number of columns, and is frequently wider than the page itself (as seen on Ravager and Nether Bricks). A large part of it is technical information that's not well explained and might not be useful to most readers. For example:


 * "stream" and "preload" have no effect on how sounds is heard in-game, and is only relevant for resource-pack creators
 * It's not clear that "pitch" and "volume" are multipliers (and not, say, volume/pitch relative to other sounds)
 * Some people might not understand how pitch multipliers work (e.g. that 2x pitch is an octave higher), and therefore be unable to visualize how they affect the sound
 * It's not explained how the duplicate pitch, volume and attenuation distance interact with each other
 * Some sounds have separate pitches, volumes, or other sounds.json arguments for each individual sound. The individual sounds don't have any identifiers in the template, so attempting to refer to them is confusing (e.g. Ocelot)

It may be argued that the values can be explained through tooltips (as some are already), but tooltips don't work on mobile view and having to hover over a bunch of them to get explanations doesn't seem like the best approach.

I propose to remove the less understandable/relevant columns (pitch, volume, stream, preload); renaming "attenuation distance" to "audible distance" and combining it to a single value to make it more understandable. Individual sounds.json values and their explanations are already on Sounds.json. However, perhaps that could be revamped into a more general "Sound event" page (or separate pages for Java and Bedrock), with the hardcoded values included and explained as well, and the table changed to a more readable format (perhaps splitting by category). Even if that ends up requiring a similarly wide table, it would be limited to a single page and not every page that has sounds. – Sonicwave talk  23:44, 18 August 2020 (UTC)


 * I forgot to comment here. I created Template:Sound table/editcopy in an attempt to make a non-table version. Moving away any fields, or "merging" them will result in incomplete documentation. Reducing the table and linking to a dedicated page is also duplicating a bunch of the content then. So here's a non-table approach, that I kinda like; it's still being worked on and should really be converted to LUA. FVbico (talk) 08:00, 19 September 2020 (UTC)


 * I removed the new columns (for now) as they weren't being applied anyway... Dhranios (talk) 07:48, 1 October 2020 (UTC)