Template:Dropdown/doc

adds a customizable dropdown menu like this one:

Links  Policies Main Page Special:WikiActivity 

This is how to create this example:

You can also add |float = left to move it to the left side of the page, like so:

Links  Policies Main Page Special:WikiActivity 

see w:c:dev:DropdownMenu for more information