Difference between revisions of "Bedrock Protocol version numbers/Entry"

From wiki.vg
Jump to navigation Jump to search
(Initial version)
 
m
Line 1: Line 1:
 
<includeonly><!-- Because arrays are not allowed, we have to do it the cumbersome way -->
 
<includeonly><!-- Because arrays are not allowed, we have to do it the cumbersome way -->
 
  |-
 
  |-
  | {{#if: true | {{#if: {{{beta|}}} | {{Minecraft Wiki|{{{1}}}}} | '''{{Minecraft Wiki|Bedrock Edition {{{1}}}|{{{1}}}}}'''}}
+
  | {{#if: true | {{#if: {{{beta|}}} | {{Minecraft Wiki|Bedrock Edition beta {{{1}}}|{{{1}}}}} | '''{{Minecraft Wiki|Bedrock Edition {{{1}}}|{{{1}}}}}'''}}
 
{{#if: {{{multi|}}} |
 
{{#if: {{{multi|}}} |
 
{{!}}rowspan="{{{multi}}}"{{!}} {{{2}}}
 
{{!}}rowspan="{{{multi}}}"{{!}} {{{2}}}

Revision as of 00:53, 21 March 2020

This page is copied from Protocol version numbers/Entry and changed to fit for Bedrock edition. This page is used to generate the table for simple cases.

It takes 3 arguments if the protocol version is unique:

  1. Version name
  2. Protocol version name
  3. Page revision, which can be cur for current or blank if not present.

An optional beta parameter can be set to indicate that the version is a beta and should not be bolded. The following code:

{| class="wikitable"
 |-
 ! Release name
 ! Version number
 ! Last known documentation
 {{/Entry|1.14.41|389|cur}}
 {{/Entry|1.14.30.51|389|beta=1}}
 {{/Entry|1.14.30|389}}
 {{/Entry|1.14.25.1|389|beta=1}}
 |}

will produce:

Release name Version number Last known documentation
1.14.41 389 page
1.14.30.51 389
1.14.30 389
1.14.25.1 389


It is also possible to define multiple versions with the same protocol in one line using the multi parameter. You can still use the beta parameter. The following code:

{| class="wikitable"
 |-
 ! Release name
 ! Version number
 ! Last known documentation
 {{../Entry|1.14.41|389|cur}}
 {{../Entry|1.14.30.51|389|beta=1|multi=3}}
 {{../Entry|1.14.30}}
 {{../Entry|1.14.25.1|beta=1}}
 |}

will produce:

Release name Version number Last known documentation
1.14.41 389 page
1.14.30.51 389
1.14.30
1.14.25.1


The REVISIONID magic word can be subst'd in to help with entering for the previous beta (assuming that the version list is updated before the beta page is updated).