Template:Only

From Minecraft Wiki
Jump to: navigation, search
[view | edit | history | purge]Documentation

This template is used to create a simple note stating that a feature is exclusive to one or multiple version(s). Uses Template:Editions.

Parameters

Named parameters

The template accepts the following named parameters:

Named Parameter Effect
short=1 Shortens the edition name. Example: Bedrock EditionBE
as of= Adds additional information in the hover text.
nocat=1 Prevents the page from being added to any maintenance categories. Use this in documentation, talk pages, etc.
where you're mentioning or showing an example of the template rather than using it to mark a feature.
nozwnj=1 Prevents zwnj; from being added. Use this in places where ; is used for another purpose, such as {{Breaking row}}

Usage

Example.{{only|java}} → Example.‌[Java Edition only]

Example.{{only|earth}} → Example.‌[Minecraft Earth only]

Example.{{only|java|education}} → Example.‌[Java and Education editions only]

Example.{{only|bedrock|console|education}} → Example.‌[Bedrock, Legacy Console, and Education editions only]

Example.{{only|java|bedrock|console|short=1}} → Example.‌[JE, BE & LCE only]

Example.{{only|education|earth|bedrock|as of=Java Edition 1.15.1}} → Example.‌[Education Edition, Minecraft Earth, and Bedrock Edition only]

Other tag templates

[view | edit | history | purge]The above documentation is transcluded from Template:Only/doc.