VOOZH about

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

⇱ Template:Mainpage platform – Minecraft Wiki


Template:Mainpage platform

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.

This template makes an individual platform image.

Parameters

Parameter Function Notes
|1= The name of the game (java, bedrock, legends, etc) - analogous to Template:Version/FP
|2= The type of development version (Preview, beta, snapshot) - analogous to Template:Version/FP Optional
|3= The specific platform (android, ios, win etc) - analogous to Template:Version/FP Optional
|image= The image to use
|image-class= Class to apply to the image Optional
|title= The title to show next to the image
|store-page= Link to the wiki page about purchasing the game; if not set, store-url is used instead
|store-url= Link to a URL for purchasing the game; not used if store-page is set
|store-text= Link text for purchasing the game Optional; default: "Buy"
|trial-url= Link to a URL for trialing the game Optional
|dev-url= Link to a URL for dev version the game Optional; requires {{{2}}} to be set
|current-version= Overrides current version to display; requires valid parameter for Template:Version/FP Optional
|dev-version= Overrides dev version to display; requires valid parameter for Template:Version/FP Optional
|dev-text= Overrides dev version text (snapshot/beta/Preview...) to display Optional

Example

{{mainpage|platform|bedrock|Preview|ios|image=Golden Apple.png|title=Apple version|store-page=Apple}}

Uses the version slugs bedrock-ios and bedrock-ios-preview with Template:Version/FP to display the following:

Apple version
26.32 (current)
26.40.27 (26.40 Preview)
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Mainpage platform/doc.
Retrieved from "https://minecraft.wiki/w/Template:Mainpage_platform?oldid=3603194"

Navigation menu