Template:Version/doc

From Captain of Industry Wiki
< Template:Version
Revision as of 13:08, 16 January 2022 by Thadius856 (talk | contribs) (add extra sample output, clarification)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description
This template allows for easier and more compact linking of patch note pages in inline text. It also auto-categorizes pages that use it into the following hidden categories:
Category:Citations to the current version
Category:Citations to previous versions
Dependencies
{{CurrentVersion}} set to the current version of the game
{{patch2date}} updated with the release date of each version of the game
Syntax
{{version|ver=version#|nodate=yes (optional)}}
Sample Output
{{version|ver=Beta 0.3.10}} --> Beta 0.3.10 (2022-01-15)
{{version|ver=Alpha 0.2.6}} --> Alpha 0.2.6 (2021-09-27)
{{version|ver=Alpha 0.2.6|nodate=yes}} --> Alpha 0.2.6