Template:Snapshot PVN: Difference between revisions

From wiki.vg
Jump to navigation Jump to search
imported>Pokechu22
(Create template)
 
imported>JochCool
m (Use semicolon rather than comma after the word "Snapshot".)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><abbr title="Snapshot, add 0x40000000 to get true PVN of {{{1}}}">Snapshot {{#expr: {{{1}}} - 1073741824}}</abbr></includeonly><noinclude>{{Snapshot PVN/doc}}</noinclude>
<includeonly><abbr title="Snapshot; add 0x40000000 to get true PVN of {{{1}}}">Snapshot {{#expr: {{{1}}} - 1073741824}}</abbr></includeonly><noinclude>{{Snapshot PVN/doc}}</noinclude>

Latest revision as of 23:18, 4 February 2021

This template produced shortened protocol version numbers for recent snapshots. It is only meant to be used when the PVN is a large number (at least 1073741824 = 0x40000000); older snapshots that used the same PVN scheme as releases should not use it. {{Protocol version numbers/Entry}} automatically applies this template.

  • {{Snapshot PVN|1073741825}} produces Snapshot {{#expr: 1073741825 - 1073741824}}
  • {{Snapshot PVN|442}} produces Snapshot {{#expr: 442 - 1073741824}} (don't do this)