Difference between revisions of "Bedrock Protocol version numbers/Entry"
Jump to navigation
Jump to search
m |
m |
||
Line 4: | Line 4: | ||
{{#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. |
Revision as of 21:34, 26 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:
- 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).