Template:Button/Doc

From Starfield Wiki
Jump to: navigation, search

Summary[edit]

Creates a "button" with a link inside of it.

Parameters[edit]

Button
Parameter Scope Description
1 optional The page name to link to. (Default: the page the button is on.)
2 optional The text to display in the button. (Default: edit)
3 optional The HTML parameters for the link. (Default: action=edit)
class optional Any CSS classes to apply to the text. Note that plainlinks is always applied. (Default: mw-editsection, the same as is applied to a normal edit button. Specify `class=` to stop this class from being applied.)
style optional Any CSS styling to apply to the text. Note that this applies the styling to the brackets as well. There is currently no styling for just the inside text, though this is easy to add, if needed.

Examples[edit]

{{Button}}

[edit]

{{Button|Skyrim:Sandbox}}

[edit]

{{Button|Main Page|Main Page with Spanish UI|uselang{{=}}es|class=}}

[Main Page with Spanish UI]