Difference between revisions of "Template:Patch2date"

From Captain of Industry Wiki
Jump to: navigation, search
(derp, i converted {{{1}}} to lowercase then compared it to proper case. fixed. adding warning to myself and future editors.)
(+beta 0.3.11, +beta 0.3.11e)
 
Line 3: Line 3:
     {{#switch: {{lc:{{{1}}}}}
     {{#switch: {{lc:{{{1}}}}}
       <!-- NOTE: All entries below must be fully lowercase or this template will break -->
       <!-- NOTE: All entries below must be fully lowercase or this template will break -->
      | beta 0.3.11e    = 2022-01-24
      | beta 0.3.11      = 2022-01-23
       | beta 0.3.10      = 2022-01-15
       | beta 0.3.10      = 2022-01-15
       | beta 0.3.9      = 2022-01-13
       | beta 0.3.9      = 2022-01-13

Latest revision as of 01:08, 30 January 2022

Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Description
This template accepts one unnamed parameter (a patch number). It returns the date that patch was published as variable patch_date.
Dependencies
To remain current, a manual update to this template after each update is released.
Syntax
{{patch2date|version#}}
Sample Output
{{patch2date|Beta 0.3.10}} --> variable patch_date set to 2022-01-15 (not visible to site visitors)
{{patch2date|Alpha 0.2.6}} --> variable patch_date set to 2021-09-27 (not visible to site visitors)
The above text is transcluded from Template:Patch2date/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Patch2date/doc. (View all subpages of this page.)