Template:Button/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Button.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Button.

Description

Displays a clickable gray button for linking to a wiki page. This generates both :hover and :active CSS pseudo-classes, making it look slightly different upon mouse-over and clicking.

Usage

  • {{Button|target page name}}
  • {{Button|target page name|link text}}

Examples

Example 1

{{Button|Link (Legend of Zelda)}}

Link (Legend of Zelda)

Example 2

{{Button|Link (Legend of Zelda)|The character Link from Legend of Zelda}}

The character Link from Legend of Zelda

History

The unused option controlling font size has been removed, leaving font size always at 150% that of normal text.

Displays a clickable gray button for linking to a wiki page

Template parameters

ParameterDescriptionTypeStatus
11

Target page name

Example
Link (Legend of Zelda)
Pagerequired
22

Link text

Default
(Target page name)
Example
The character Link from Legend of Zelda
Stringsuggested