This Forum has been archived

Forums: Admin Central Index Technical Help Text Codings of My Unknowns
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

I need help on multiple pieces of coding I found.

In lyrics wiki, there are 2 bars that say "[show]", when it only shows the box, and "[hide]", when it shows the box and the hidden text. When I copy and paste, it only shows the box. How do I get the text to hide there.

In the spanish Ben 10 Fan Fiction, there is an arrow, which leads to a navigation system. I could try to C.A.P. it but I would need to translate it first. Though, I don't know how to translate coding not in english.

Another is about having a diffrent name in chat when you enter or leave chat. I saw once where someone had a smiley emoticon instead of their user name.

There are 2 more, it's about having the viewer be in text view. Like when there's Forums, there's a box and you type the name of the forum and press a button. I was wondering how I can use that box so users or IPs can type what they like and enter in the box. The other is like what you do in the info box on your user page when go to "When is your birthday?" or something like that. It's where you choose out of 12 months and another where you choose the out of 29-31 days depending on what you chose. I want something similar to you.

Can you help me out?

Thank you,


Whoa, that's quite a number of questions for one forum thread ;). From the start:
  • To enable collapsible elements on your wiki, you need more than than just copy/pasting the markup. See this guide on how to enable collapsible tables. Alternatively, you could use the MediaWiki manual on collapsible elements but I would advise against that.
  • The signature code is not in Spanish, just the links are. If you have difficulties in identifying what's what in that sig, you can take a look at User:WikiPim's signature, which is using pretty much the same tricks.
  • I would need to see what you describe to confirm, but I'm going to assume that you might find the solution in MediaWiki:Emoticons. This revision for example, will allow displaying an image of a walrus after typing "Godisme" in chat.
  • I assume you're talking about createboxes. See this page for details.
  • Unfortunately, I don't understand what you mean with the last issue.
Sovq 08:38, November 6, 2011 (UTC)
I'm talking about an inputbox where you click an arrow or something like that, then there is a variety of choices you can click on, then you do whatever you want or something. It's on the Ebay home page where it says "All Categories". You click the arrow and choose from the selection. I want it with and without helping you search. --JonathanTennyson
- offtopic - *Feels flattered being mentioned in the comments here* (now also with description and tutorial added ;) ) - /offtopic -
The snippet of code from one of the 2 templates using the feature is this table header that creates the bar with the show hide button; (The show hide feature neds extra code which is not on every wiki by default (commonly called "the showhide thingy" therea re several version of that code on wikia and at the WikiMedia site and Wikipedia. Note:- you need to have admin access to add it to your wiki.
This song also appears…
"add contents of box here"

This is part of the coding often used to make collapsible Navboxes or infobox sections on wikis. Borders can be added to create a proper box around the additional text and the header bar (Note in preview it does not work on here).

  BulldozerD11   talk    contribs    email   17:43, November 9, 2011 (UTC)
So what about drop down lists? What's the coding for it? --JonathanTennysion
There is no standard coding for drop-down lists for Wikia wikis. You could look at this example and try to adapt it, if you are ambitious:
-- Fandyllic (talk · contr) 11 Nov 2011 5:13 PM Pacific

There is no formal standard on Wikia, but ShowHide is used fairly widely on Wikia wikis, either by pasting (with or without minor modifications) or using a direct reference to the dev code. That's probably the easiest solution for creating drop-down lists here. Instructions can be found on the page. The 888th Avatar (talk) 00:25, November 12, 2011 (UTC)