Template:Button
This template generates a button with the same format as the MediaWiki buttons.
Syntax
Full syntax:
{{button|text= |page= |logo= |external= |color= |class= }}
text=, or first unnamed parameter. Text displayed in the button.page=, or second unnamed parameter. Name of the page to be linked, accepts both internal and external links.logo=, or third unnamed parameter (optional). Name of the file without the name space, displayed in the button. Example:Example.jpgexternal=(optional). With any value, understands the link in thepageparameter as an external link. If it's empty or not used, the template will use the internal link syntax.color=. The value can bewhite(default),blue, orred. Each color has a meaning (see below)class=. Additional classes are available, choose from the following:mw-ui-quiet, for a button without borders.mw-ui-big, for a bigger button.mw-ui-block, for multiple buttons that display as a block with the same width..
Colors
MediaWiki follows a consistent style for its buttons:
| White (neutral). Basic format for a simple action. | |
| Blue (progressive): actions that lead the user to the next step in a process. | |
| Red (destructive): actions that delete or limit something, such as deleting a page or blocking a user. |