Template:Button/doc

Creates an OOUI button.

The icon can be one of the icons from here.

The class and icon parameters are optional.

Uses JS in Mediawiki:Common.js.