Module:Updates/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Updates
Module:Updates
Determines previous and next update versions, relative to a specified version string, using the manually-ordered dataset defined in Module:Updates/data.
Usage
Inside Template:UpdateInfobox
The module is invoked by the template to render navigation buttons.
{{#invoke:Updates|get|{{{version|{{PAGENAME}}}}
The version parameter defaults to the current page name if not specified. The module returns two rows containing the previous and next update links, formatted for insertion into an infobox.
Parameters
get
- 1
- The version string corresponding to an entry in Module:Updates/data.
Notes
- Version ordering is determined entirely by the sequence defined in Module:Updates/data, thus the dataset must remain sorted in ascending version order for navigation to function correctly.
- If the provided version does not exist in the dataset, a warning message is returned that will display in the infobox.