Difference between revisions of "Bedrock Protocol version numbers/Entry"
Jump to navigation
Jump to search
(Initial version) |
m |
||
(2 intermediate revisions by one other user not shown) | |||
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|}}} | {{#if: {{{preview|}}} | {{Minecraft Wiki|Bedrock Edition Preview {{{1}}}|{{{1}}}}} | {{Minecraft Wiki|Bedrock Edition beta {{{1}}}|{{{1}}}}} }} | '''{{Minecraft Wiki|Bedrock Edition {{{1}}}|{{{1}}}}}'''}} |
{{#if: {{{multi|}}} | | {{#if: {{{multi|}}} | | ||
{{!}}rowspan="{{{multi}}}"{{!}} {{{2}}} | {{!}}rowspan="{{{multi}}}"{{!}} {{{2}}} | ||
− | {{!}}rowspan="{{{multi}}}"{{!}} {{#if: {{{3|}}} | {{#ifeq: {{{3}}} | cur | [[{{#if: {{{beta|{{{beta_doc|}}}}}} | Beta | + | {{!}}rowspan="{{{multi}}}"{{!}} {{#if: {{{3|}}} | {{#ifeq: {{{3}}} | cur | [[{{#if: {{{beta|{{{beta_doc|}}}}}} | Beta Protocol | Bedrock Protocol}}{{!}}page]] | [{{canonicalurl:{{#if: {{{beta|{{{beta_doc|}}}}}} | Beta Protocol | Protocol}}|oldid={{{3}}}}} page]}}}} | |
{{#if: {{{2|}}} | {{!}} {{{2}}} | {{#if: {{{2|}}} | {{!}} {{{2}}} | ||
− | {{!}} {{#if: {{{3|}}} | {{#ifeq: {{{3}}} | cur | [[{{#if: {{{beta|{{{beta_doc|}}}}}} | Beta | + | {{!}} {{#if: {{{3|}}} | {{#ifeq: {{{3}}} | cur | [[{{#if: {{{beta|{{{beta_doc|}}}}}} | Beta Protocol | Bedrock Protocol}}{{!}}page]] | [{{canonicalurl:{{#if: {{{beta|{{{beta_doc|}}}}}} | Beta Protocol | Protocol}}|oldid={{{3}}}}} page]}}}}}}}}}}</includeonly><noinclude> |
This page is copied from [[Protocol version numbers/Entry]] and changed to fit for Bedrock edition. | 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. | This page is used to generate the table for simple cases. |
Latest revision as of 11:42, 3 February 2022
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:
- Version name
- Protocol version name
- 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).