User:LazyPeaster/Sandbox

Miscellaneous QoL improvements.

[Template] Navbox/Dropdown
Integrate Template:Navbox with collapsible elements to avoid nested tables made by the overlapping uses of Template:Dropdown. This template is based on the aforementioned but instead of tables, this uses collapsible cells and can be inserted into the " " of navbox multiple time.

"Nested tables" can be seen (better on mobile) on Template:Events, Template:ContribNav and Template:KfADTournamentNav.

One collapsible cell
Content are in a singular table cell. Used class  and. Cons:
 * Since there is only one cell, header and data are formatted the same. This would make it hard to distinguish between the two.

Code
Source code: |body=  Code to include in navbox: {{Navbox/Dropdown
 * header= 
 * body= 
 * bodyclass= 
 * color=  {optional)
 * font color=  (optional)
 * nested= 

}}
 * expand= 
 * collapse= 

Multiple collapsible cells
Content are in two table cells. Used class, prefix   and a corresponding class attribute with prefix. Cons:
 * The template can only be nested once. (due to the elements not able to have multiple ID attributes)
 * Nested rows would not be collapsed by default, leaving a small space inbetween cells. It would be gone after re-collapsing the cells.
 * The custom toggle is a workaround. |  is stripped from mobile web. It would now look like the one below.
 * Alternatively, the header cell can become the toggle, remove the [ Expand Collapse ] toggle entirely.

Code
Source code: |- ! style="background-color:; color:"|<-- Toggle--> [  ] ! [ Expand Collapse ] This is the header cell. !id="mw-customcollapsible-id1" class="mw-collapsible mw-collapsed"| [ Expand Collapse ] These are contained cells. ! [ Expand Collapse ] Same ID ! [ Expand Collapse ] Same ID !class="mw-customtoggle-id3"| Where's the toggle? !id="mw-customcollapsible-id3" class="mw-collapsible mw-collapsed mw-customtoggle-nested2"| Contained cells }}
 * id="mw-customcollapsible-" class="mw-collapsible mw-collapsed "|
 * id="mw-customcollapsible-" class="mw-collapsible mw-collapsed "|
 * id="mw-customcollapsible-id1" class="mw-collapsible mw-collapsed"|This is the data cell.
 * -id="mw-customcollapsible-id1" class="mw-collapsible mw-collapsed"
 * -id="mw-customcollapsible-id1" class="mw-collapsible mw-collapsed"
 * -id="mw-customcollapsible-id1" class="mw-collapsible mw-collapsed"
 * id="mw-customcollapsible-nested" class="mw-collapsible mw-collapsed"|These cells can be collapsed with contents of the previous cells by assigning their "container id" with the ID of the containing cells.
 * id="mw-customcollapsible-id2" class="mw-collapsible mw-collapsed"|These two have the same
 * id="mw-customcollapsible-id2" class="mw-collapsible mw-collapsed"|These two have the same
 * id="mw-customcollapsible-id2" class="mw-collapsible mw-collapsed"|have the same ID. Please assign new ID to avoid this.
 * id="mw-customcollapsible-id2" class="mw-collapsible mw-collapsed"|have the same ID. Please assign new ID to avoid this.
 * id="mw-customcollapsible-id3" class="mw-collapsible mw-collapsed"|You found it. It's the header cell! Header text can still link to an article.
 * -id="mw-customcollapsible-id3" class="mw-collapsible mw-collapsed"
 * -id="mw-customcollapsible-id3" class="mw-collapsible mw-collapsed"
 * -id="mw-customcollapsible-id3" class="mw-collapsible mw-collapsed"
 * id="mw-customcollapsible-nested2" class="mw-collapsible mw-collapsed"|Same as above.

List of Avatars
Category:Avatars This is a list of avatars (profile pictures) used by the SiIvaGunner and GiIvaSunner channels.