Template:Drop-down button/doc

The Drop-down button template is an easy to customize pre-made drop-down menu that is able to take many parameters to create a drop-down menu similar to that of the "Edit Profile" button on a user page.

This template is designed to not be used in the main namespace. Do not use this template to mimic interface elements for the purpose of tricking people.

Parameters

 * buttonlink – the page on which the left side of the button links to. Not specifying this parameter will cause the left side of the button to not display.
 * buttontext – the text displayed on said button. This parameter is redundant if buttonlink is not specified.
 * link# – the page which listed as whatever number is specified in the drop-down menu links to.
 * text# – the display text which listed as whatever number is specified in the drop-down menu displays.

Parameters link1 and link2 need to be specified. All the other parameters are optional; however if no text parameter is given for a link on of the same number then the link text will be automatically substituted as the displayed text.

After the link2 parameter, any further parameters are optional. This template currently supports up to 20 items in the drop-down list.

Usage
The template supports linking to any other page on the wiki of all namespaces. It just requires specifying the page's name as the parameter (inter-wiki linking can be done by w:c:wikiname).

Demos
displays... (make sure you press the arrow on the right side of the button)

displays... (make sure you press the arrow on the right side of the button)

displays...