VOOZH about

URL: https://minecraft.wiki/w/Template:Mainpage_button

⇱ Template:Mainpage button – Minecraft Wiki


Template:Mainpage button

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template is used by the main page.
 
It is recommended to invoke this template using {{mainpage}} so the editcopy version may be correctly used.

When used on other pages, necessary styles are needed to be loaded for this template to work. {{mainpage template}} is available as a helper template for this.

An editcopy for this template exists. Compare with editcopy.

Usage

{{mainpage|button
| id = HTML id attribute
| class = additional HTML classes
| progressive = if not empty, style the button as progressive (colored with theme color)
| style = HTML style attribute
| lang = HTML lang attribute
| nolink = does not create a link, used for JS buttons
| 1 = link
| 2 = link text
}}

Examples

{{mainpage|button|Minecraft|Learn more about Minecraft}}:

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Mainpage button/doc.
Retrieved from "https://minecraft.wiki/w/Template:Mainpage_button?oldid=3120977"

Navigation menu