Jump to content

Template:Version to Sort/doc

From The Petit Planet Wiki
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