Template:VersionInfobox/doc

From Super Auto Pets Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

This template is used to display a version infobox on version pages.

Usage

{{VersionInfobox
| name        = 
| update_name =
| image       = 
| release     = 
| prev        = 
| current     = 
| next        = 
}}
name

Title of the infobox. Defaults to page name.

update_name

Official name of the patch. Defaults to "Update <version number>", e.g. "Update 1.2".

image

Image to display, without [[File:. Defaults to "<update name> Titlecard.png/jpg", if possible.

caption

Caption to display underneath the image. Rarely used.

release

Release date of the update.

prev

Number of the previous version in the version chronology. The template determines this automatically (based on Category:Patch notes), so this parameter is only to be used if there is an anomaly.

current

Number of the current version in the version chronology. Defaults to page name, so this parameter is only to be used if there is an anomaly. Mainly affects the automatic generation of the previous and next patch numbers.

next

Number of the next version in the version chronology. The template determines this automatically (based on Category:Patch notes), so this parameter is only to be used if there is an anomaly.

Example

{{VersionInfobox
| name = Version 0.30
| update_name = Durian!
| image = Durian_Icon.png
| release = 16th of November 2023
| prev = [[Version 0.29|0.29]]
| current = Version 0.30
| next = [[Version 0.31|0.31]]
}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.