Template:Version infobox: Difference between revisions

No edit summary
No edit summary
 
(19 intermediate revisions by 2 users not shown)
Line 8: Line 8:
! scope="row" style="width:45%; text-align:left;" | Release date
! scope="row" style="width:45%; text-align:left;" | Release date
| {{#if:{{{date|}}}
| {{#if:{{{date|}}}
     | {{#iferror:{{#time:F j, Y|{{{date}}}}}
     | {{OOO date|{{{date}}}}}
        | {{{date}}}     <!-- fallback if date is not parseable (e.g. "2021–2022") -->
        | {{#time:F j, Y|{{{date}}}}}
      }}
     | Unknown
     | Unknown
   }}
   }}
Line 24: Line 21:
| {{{summary|}}}
| {{{summary|}}}
|}
|}
<noinclude>
<includeonly>
Template documentation here...
[[Category:Version History|{{{sort|{{{version|}}}}}}]]
</noinclude><includeonly>
[[Category:Version History]]
{{#ifeq: {{{nocategory|0}}}|1||[[Category:Updates{{#if:{{{date|}}}|{{!}}{{{date}}}}}]]}}
{{#ifeq: {{{nocategory|0}}}|1||[[Category:Updates{{#if:{{{date|}}}|{{!}}{{{date}}}}}]]}}
{{#if:{{{version|}}}|
[[Category:Version {{#dplreplace:{{{version}}}|^([0-9]+\.[0-9]+).*$|\1}}]]
}}
</includeonly><noinclude>
</includeonly><noinclude>
<templatedata>
<templatedata>