Editing Forum:Button/option to switch between fighter/series orders

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
Warning You aren't logged in. While it's not a requirement to create an account, doing so makes it a lot easier to keep track of your edits and a lot harder to confuse you with someone else. If you edit without being logged in, your IP address will be recorded in the page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 5: Line 5:
::Looked more into it and it would seem we would need to specify a sorting key for each fighter? https://www.mediawiki.org/wiki/Help:Sorting, so where it says `{|class="wikitable" style="text-align:center;margin:1em auto 1em auto;"` in the character table template, replace "wikitable" with "wikitable sortable." As for a way to make it sort in non-ascending order, not completely sure but i would we would have to do something with sort types https://meta.wikimedia.org/wiki/Help:Sorting#Forcing_the_sort_mode_for_a_column [[User:Luigi86101|Luigi86101]] ([[User talk:Luigi86101|talk]]) 14:38, May 8, 2022 (EDT)
::Looked more into it and it would seem we would need to specify a sorting key for each fighter? https://www.mediawiki.org/wiki/Help:Sorting, so where it says `{|class="wikitable" style="text-align:center;margin:1em auto 1em auto;"` in the character table template, replace "wikitable" with "wikitable sortable." As for a way to make it sort in non-ascending order, not completely sure but i would we would have to do something with sort types https://meta.wikimedia.org/wiki/Help:Sorting#Forcing_the_sort_mode_for_a_column [[User:Luigi86101|Luigi86101]] ([[User talk:Luigi86101|talk]]) 14:38, May 8, 2022 (EDT)
:::For column sorting, you could easily have the default arrangement and then assign sort-keys that are more aligned with the target sort (in this case series, possibly use numbers). Sorting would then do it by series order (or however it is setup), pressing the sort button again would do reverse series order, and once more back to default. As for the grid tables... not without some funky CSS or JS, either of which would need to be done by admins, but it would still be a headache for whomever does it. The "simplest" way I found would require replacing every cell with a <<nowiki/>div> and using JS to sort. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 14:58, May 8, 2022 (EDT)
:::For column sorting, you could easily have the default arrangement and then assign sort-keys that are more aligned with the target sort (in this case series, possibly use numbers). Sorting would then do it by series order (or however it is setup), pressing the sort button again would do reverse series order, and once more back to default. As for the grid tables... not without some funky CSS or JS, either of which would need to be done by admins, but it would still be a headache for whomever does it. The "simplest" way I found would require replacing every cell with a <<nowiki/>div> and using JS to sort. --[[User:CanvasK|CanvasK]] ([[User talk:CanvasK|talk]]) 14:58, May 8, 2022 (EDT)
Wanted to make another reply here to just say again i definitely think now that we should consider straight up removing the series order and sticking with the fighter order at this point, the order we have now is extremely outdated and fighter order makes more sense IMO. As for newcomers, I would say removing the "newcomers" border thing and just having them with the rest of the fighters is better, and instead adding "new" to each new fighter's name so we can have the new echo fighters properly ordered as well. [[User:Luigi86101|Luigi86101]] ([[User talk:Luigi86101|talk]]) 17:47, March 14, 2023 (EDT)

Please note that all contributions to SmashWiki are considered to be released under the Attribution-ShareAlike 3.0 Unported license (see SmashWiki:Copyrights for details). Your changes will be visible immediately. Please enter a summary of your changes above.

Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)