Glee TV Show Wiki


1,770pages on
this wiki

Template page

Template documentation (for the template shown above, sometimes hidden or invisible)

This can be confusing. If you need any help or assistance drop me a message on my wall.

SeeBreadTalk to me! 10:19, April 11, 2014 (UTC)

This navbox uses collapsible text boxes to provide a searchable list of relationships. Although the code looks a little intimidating at first, it's easy to get your head around once you know what you're looking at.
The main bulk of the navbox is separated into three different columns: the listbox on the left, the currently displaying character in the middle, and the relationships list on the right.
Left Column

The left column, or first list of code, will have entries that look like this:

<div class="mw-customtoggle-Artie wikia-menu-button">Artie</div><br>

They simply populate the listbox on the left with all the characters. You only need to mess with this bit if you need to add a new character, in which case you add

<div class="mw-customtoggle-(MYNAMEHERE) wikia-menu-button">(MYNAMEHERE)</div><br>

in the correct position.

Middle Column

The middle column, or the second list of code, has entries that look like this:

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Artie">Artie</div>

This bit is very simple: if you click the cast name in the listbox, it will display the name here. Once again, you only need to mess with this if you're adding a new character. You need to add:

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-(MYNAMEHERE)">(MYNAMEHERE)</div>

in the correct position.

Right Column

This bit needs to be changed if you want to add relationships. Since there are two people in every relationship, two lines of code need to be added:

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-(MYNAMEHERE1)">[[(RELATIONSHIPTITLE)]]</div>

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-(MYNAMEHERE2)">[[(RELATIONSHIPTITLE)]]</div>

For example:

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Burt">[[Burt-Carole Relationship]]</div>

<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Carole">[[Burt-Carole Relationship]]</div>

Happy editing!

Around Wikia's network

Random Wiki