Template:Only
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 Edition → BE |
| 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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Edition | 1 edition | What edition is this exclusive to?
| String | suggested |
| Short | short note | Shortens the edition name.
| Boolean | optional |
Other tag templates
{{Better source}}{{Check the code}}{{Check version}}{{Citation needed}}{{Dead link}}{{Dubious}}{{Failed verification}}{{INUpcoming}}{{InUpcoming}}{{Info needed}}{{JP}}{{Needs testing}}{{OnlyExperimental}}{{Planned inline}}{{Sic}}{{Tag}}{{Until}}{{Upcoming}}{{Verify}}{{When}}