![]() |
VOOZH | about |
This template compares a version of Minecraft to the current version, and returns "true" if the version is less than or equal to the current version (indicating that the version has been released), or an empty string if the version has not been released.
|1=: User-specified version. Only supports the format of numerical digits separated by dots, e.g. 1.21, 1.21.0, or 0.14.0. Minor variations e.g. Preview 1.21.0.22, v0.16.0, alpha v0.15.0, 0.2.0j, or Beta 1.3 are not supported.|2=: Code of edition of the game being used in the comparison, e.g. |2=bedrock. Refer to Template:Version/doc for the list of codes. Note that the codes in this list are unsupported.Code
{{#if:{{CompareVersion|1.21.50|bedrock}}|[[Bedrock Edition 1.21.50]] has been released. | [[Bedrock Edition 1.21.50]] has not been released.}}
Output
Bedrock Edition 1.21.50 has been released.
java-experimental-versionjava-experimentaljava-snapjava-typejava-combat-snapbedrock-betabedrock-beta-androidbedrock-previewbedrock-preview-*