Template:MicroWiki/Button
Jump to navigation
Jump to search
This template uses TemplateStyles: |
A customizable template to render clickable "main-page-style" buttons. Filled template(s) should be surrounded with <div class="links-contents"> . . . </div>
. This template has several fields that accepts CSS styles, which can be used to customize all three of the classes used.
The button will adjust its width based on the parameters used. It will maintain an appropriate size if either the logo or link text is omitted.
Parameters
buttonstyles
- Directly overrides the styles of the button box (.mw-box
). Accepts CSS styles. Do not includestyle=
or surround with double quote marks.logostyles
- Directly overrides the styles of the logo (.mw-logo
). Accepts CSS styles. Do not includestyle=
or surround with double quote marks.linkstyles
- Directly overrides the styles of the link text (.mw-invite
). Accepts CSS styles. Do not includestyle=
or surround with double quote marks.logo
- Optional, image to display on the side. Accepts a bare filename.size
- Size of the logo, with units. Defaults to 60px if omitted.link
- External link, no brackets.linktext
- Text to mask the link.