Template:Only

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

This template is used to create a simple inline note stating that a feature is exclusive to one or multiple version(s). Uses Template:Editions. Do not use this template to mark entire sections, especially within the heading itself (which will break the auto-generated section link in the edit summary); use {{exclusive}} instead.

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.
nozwnj=1 Prevents zwnj; from being added. Use this in places where ; is used for another purpose, such as {{Breaking row}}.
upcoming= Adds an upcoming edition
upcomingv= Adds the upcoming edition's version. If not used, defaults to the current one. Must be used with upcoming

Usage

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

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

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

Example.{{only|bedrock|console|education}} → Example.‌[Bedrock and Legacy Console editions, and Minecraft Education 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.‌[Minecraft Education, Minecraft Earth, and Bedrock Edition only]

Example.{{only|education|upcoming=bedrock}} → Example.‌[Minecraft Education and upcoming Bedrock Edition 26.10 only]

Example.{{only|education|upcoming=bedrock|upcomingv=1.11.0}} → Example.‌[Minecraft Education and upcoming Bedrock Edition 1.11.0 only]

Example.{{only|education|upcoming=bedrock|upcomingv=1.11.0|upcoming2=java|upcoming2v=1.14}} → Example.‌[Minecraft Education and upcoming Bedrock Edition 1.11.0 and Java Edition 1.14 only]

Example.{{only|education|upcoming=bedrock||upcoming2=java|upcoming2v=1.14}} → Example.‌[Minecraft Education and upcoming Bedrock Edition 26.10 and Java Edition 1.14 only]

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Edition1 edition

What edition is this exclusive to?

Example
bedrock (if Bedrock Edition), education|upcoming=bedrock (if Minecraft Education and upcoming Bedrock Edition 1.xx.xx only)
Stringsuggested
Shortshort note

Shortens the edition name.

Example
Bedrock Edition to BE
Booleanoptional

Other tag templates

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