User blog:Lothorian Foryx/Switch Infoboxes

New Wiki Content
Switch Infoboxes have now became something that we can access on this Wiki, as opposed to prior, when something technical in the coding prevented such. With Vivid's help, as only an admin had the clearance to apply this fix (and I've no experience with coding whatsoever), one of the friendly admins from the RuneScape wiki agreed to help us with this endeavor.

Now for the perks, the downsides, and how to access this feature. I'll also provide two sample pages here on our wiki, and show you one from the regular RuneScape wiki as well.

Example Pages
RuneScape Wiki: Scrambles the Werewolf

RP Wiki: Aynaet du Marais

RP Wiki: Lothorian Foryx

The Perks and the Catch
This should be fairly obvious, the most useful perk that you can switch your infobox between different variations of your character's appearance by clicking a tab, which is particularly useful for character races that morph into completely different forms (see examples). Otherwise, you can edit your text so that it doesn't contain the same content in each box when its corresponding tab is clicked, so that it isn't a simple difference of a picture (see Lothorian's quotes).

There is only one catch, really. You can only edit the BEGINNING of your article in Source Mode, and not Visual Mode. The coding is too complex to utilize the latter, and it's much easier to copy the information (IN SOURCE MODE) from either of those two example pages on our wiki listed above, than to try to use the actual template.

Note: Once the switch infobox is in place, you CAN edit the other parts of your article individually in Visual Mode (by clicking the edit feature at the end of each heading), simply not the entire page at one time.

How do I Make One?
The answer to this is fairly simple, so don't fret!

Step 1: Open either the Aynaet or Lothorian link from the above examples.

Step 2: Edit the entire page in Source Mode by using the button at the top of the article.

Step 3: Copy the switch infobox coding (information and all) from the top of the page.

Step 4: Open your desired page, edit it in Source Mode, then paste in the information.

Step 5: Find the exact names of the files your pictures are saved under on this wiki, as you will apply them in the next step.

Step 6: Start plugging in your information and replacing that of the example characters.

Step 7: Please close out of the tab/window that you had/have opened for editing either Aynaet or Lothorian, as the authors prefer that their actual information is NOT edited during this process.

Step 8: Sit back, click your tabs to switch your infoboxes, and enjoy!

Technical Support
As I stated before, I'm not the greatest with coding, but I can probably try to fix issues you've been having, or set up a switch infobox for you so that you can edit your information in (if I have the time). Vivid is more knowledgable than I on this subject, so you might want to direct the more difficult malfunctions/complications/inquiries towards her.

I hope this will become beneficial to the community, as I know I'd personally wanted some of these for ages before I finally decided to do something about the situation!