I need help setting up a wiki fandom page

I'm having a bit of trouble with my fandom wikia page. I'm trying to setup a table of contents with collapsible lists so that people and navigate to links to read about lore(this is for making d & d lore) and I also want to set it up so that my friends can add their own lore to it, but idk how to make a show/hide button or even if I made this list correctly. Also if possible I would like for each section to be able to be organized alphabetically. Please help