Difference between revisions of "Template:Version/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(Creation)
 
m (typo)
Line 6: Line 6:
;Dependencies
;Dependencies
:{{tl|CurrentVersion}} set to the current version of the game
:{{tl|CurrentVersion}} set to the current version of the game
:{{tl|version2date}} updated with the release date of each version of the game
:{{tl|patch2date}} updated with the release date of each version of the game


;Syntax
;Syntax

Revision as of 13:03, 16 January 2022

Description
This template allows for easier and more compact linking of patch note pages. It also auto-categorizes pages that use it into the following 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|nodate=yes}} --> Alpha 0.2.6