This page is directors-only protected so that only directors can edit it.

Template:Upcoming: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(unlink the "upcoming" text)
Tag: Mobile edit
(handle cases where {{{ver2}}}/{{{2}}} is defined, but not {{{ver}}}/{{{1}}})
Line 1: Line 1:
<includeonly>&zwnj;{{ #vardefine: $version | {{ #if: {{{ver|}}} | {{{ver}}} | {{{1|}}} }}
<includeonly>&zwnj;{{ #vardefine: $version | {{ #if: {{{ver|}}} | {{{ver}}} | {{{1|}}} }}
}}{{ #vardefine: $version2 | {{ #if: {{{ver2|}}} | {{{ver2}}} | {{{2|}}} }}
}}{{ #vardefine: $version2 | {{ #if: {{{ver2|}}} | {{{ver2}}} | {{{2|}}} }}
}}{{ #if: {{ #var: $version }} || {{ #vardefine: $version | {{ #var: $version2 }} }}{{ #vardefine: $version2 }}
}}{{tag|{{
}}{{tag|{{
#if: {{ #var: $version }}
#if: {{ #var: $version }}

Revision as of 08:52, 31 January 2019

Documentation[view] [edit] [history] [refresh]

This template is used to mark references to upcoming features. To mark a page or a sentence about upcoming features, use {{in development}} instead.

This template will put the page into Category:Upcoming.

Additionally, if the first or second parameter is set, using a Bedrock Edition version will put the page into Category:Bedrock Edition upcoming tag‎, and using a Java Edition version will put the page into Category:Java Edition upcoming tag‎.

Parameters

  • |1=: Set this to a version to change the link and display the version number after "upcoming". Displays like so: ‌[upcoming: 1.16]
  • |2=: As above but adds a second version link. Displays as such: ‌[upcoming: 1.16 & 1.16.0]
  • |nocat=: Set this to not use the category, useful on information being transcluded, the category can then be added using <noinclude>

Examples

Example{{upcoming}} → Example‌[upcoming]

Example{{upcoming|java 1.21.5}} → Example‌[upcoming: 1.21.5]

Example{{upcoming|java 1.21.5|bedrock 1.21.73}} → Example‌[upcoming: 1.21.5 & 1.21.73]

See also

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