Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Mainpage section notice

Template page
Revision as of 00:36, 2 April 2026 by imported>Nixinova (Rmv: April 2 now)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Mainpage templateTemplate:Mainpage template

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Mainpage template documentation

This template is used to provide a notice box at the top of the main page, below the portal tabs. It is usually blank.

Usage

This template accepts one unnamed param, which should be one of Template:Cd. This is used to control which notices are displayed.

Content

A notice usually consists of:

  • an image
  • title
  • description
  • call-to-action button(s)

Here are some tools often used in constructing a banner.

Only show a banner on some portal pages

As explained above, the unnamed param can be used to only show a banner on select portal pages. <syntaxhighlight lang="wikitext">

</syntaxhighlight>

Schedule a banner

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Showing localized time

Template:Tl can be used to show time in the user's timezone. This is useful for scheduled events.

Template:Tl yields Template:LocalizedTime.

Showing a countdown

Template:Tl can be used to show a countdown. This is useful for scheduled events.

Template:Tl yields Template:Countdown when the event hasn't started, and Minecraft Live has started! when the event has started.

Examples

Minecraft LIVE

Template:Hatnote <tabber> Preview=Template:Mainpage template

Template:Mainpage template |-| Code=<syntaxhighlight lang="wikitext">

</syntaxhighlight> </tabber>

A Minecraft Movie Live Event

Template:Hatnote <tabber> Preview=Template:Mainpage template

Join the A Minecraft Movie Live Event and get a cape!

Midport Village is under a piglin attack! Play mini-games inspired by A Minecraft Movie, save the village, and get the Yearn Cape! Event lasts until Template:LocalizedTime.

Template:Mainpage template |-| Code=<syntaxhighlight lang="wikitext">

</syntaxhighlight> </tabber>

Zombie Horse Cape

Template:Hatnote <tabber> Preview=Template:Mainpage template

Get the Zombie Horse Cape!

As part of the [[[:Template:Mcnet]] "Spear Mayhem" challenge], you can get a new cape by defeating five mobs using a spear in Bedrock Edition.

This challenge Template:Countdown (Template:LocalizedTime).

Template:Mainpage template |-| Code=<syntaxhighlight lang="wikitext">

</syntaxhighlight> </tabber>

Year in Review

Template:Hatnote <tabber> Preview=Template:Mainpage template

Template:Mainpage template |-| Code=<syntaxhighlight lang="wikitext">

</syntaxhighlight> </tabber>

Template:Sandbox other
The above text is transcluded from Template:MC/Mainpage section notice/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Mainpage section notice/doc. (View all subpages of this page.)