Jump to content

Template:Version to Sort/doc

From The Petit Planet Wiki
Revision as of 23:21, 1 September 2026 by ReisuDesign (talk | contribs) (Created page with "{{Documentation/Header}} Template that returns the sort key for a Version. Keep aligned with Module:Version to Sort. Not directly used by this template to prevent extra lua runtime. ==Syntax== {{T|Version to Sort|v1=version number}} ==Examples== {{T|Version to Sort|_Y_=1}}<br> {{T|Version to Sort|Coziness Test|_Y_=1}}<br> ==See Also== * {{T|CurrentVersion}} * {{T|Date to Version}} * {{T|Version to Date}} ==Template Data== <templatedata> { "params": { "1":...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page for Version to Sort.
It contains usage information, categories, and other content not part of the original template page.

Template that returns the sort key for a Version.

Keep aligned with Module:Version to Sort. Not directly used by this template to prevent extra lua runtime.

Syntax

[edit source]

{{Version to Sort|version number}}

Examples

[edit source]

{{Version to Sort}} yields:
{{Version to Sort|Coziness Test}} yields: 0.83.5

See Also

[edit source]

Template Data

[edit source]

Returns the sort key for a Version.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Version1

Version number

Example
3.5
Numbersuggested