Template:Bedrock Protocol version numbers/Entry: Difference between revisions
Jump to navigation
Jump to search
imported>Tim203 Initial version |
Update template reference |
||
(4 intermediate revisions by 3 users 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. | ||
Line 23: | Line 23: | ||
! Version number | ! Version number | ||
! Last known documentation | ! Last known documentation | ||
{{/Entry|1.14.41|389|cur}} | {{Bedrock_Protocol_version_numbers/Entry|1.14.41|389|cur}} | ||
{{/Entry|1.14.30.51|389|beta=1}} | {{Bedrock_Protocol_version_numbers/Entry|1.14.30.51|389|beta=1}} | ||
{{/Entry|1.14.30|389}} | {{Bedrock_Protocol_version_numbers/Entry|1.14.30|389}} | ||
{{/Entry|1.14.25.1|389|beta=1}} | {{Bedrock_Protocol_version_numbers/Entry|1.14.25.1|389|beta=1}} | ||
|} | |} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 53: | Line 53: | ||
! Version number | ! Version number | ||
! Last known documentation | ! Last known documentation | ||
{{ | {{Bedrock_Protocol_version_numbers/Entry|1.14.41|389|cur}} | ||
{{ | {{Bedrock_Protocol_version_numbers/Entry|1.14.30.51|389|beta=1|multi=3}} | ||
{{ | {{Bedrock_Protocol_version_numbers/Entry|1.14.30}} | ||
{{ | {{Bedrock_Protocol_version_numbers/Entry|1.14.25.1|beta=1}} | ||
|} | |} | ||
</nowiki></pre> | </nowiki></pre> |
Latest revision as of 16:33, 20 December 2024
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 {{Bedrock_Protocol_version_numbers/Entry|1.14.41|389|cur}} {{Bedrock_Protocol_version_numbers/Entry|1.14.30.51|389|beta=1}} {{Bedrock_Protocol_version_numbers/Entry|1.14.30|389}} {{Bedrock_Protocol_version_numbers/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 {{Bedrock_Protocol_version_numbers/Entry|1.14.41|389|cur}} {{Bedrock_Protocol_version_numbers/Entry|1.14.30.51|389|beta=1|multi=3}} {{Bedrock_Protocol_version_numbers/Entry|1.14.30}} {{Bedrock_Protocol_version_numbers/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).