Template:VersionTableRow: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Fix error for versions with only 1 patch)
(Align date to center)
Line 1: Line 1:
Example:  
Example:  
{| class="wikitable"
{{VersionTableHeader}}
|-
! scope="col" style="text-align:center;" | Minor Version
! Patch
! Release Date
{{VersionTableRow|patches=3|2.35|0|2023-06-18}}
{{VersionTableRow|patches=3|2.35|0|2023-06-18}}
{{VersionTableRow|2.35|1|2023-07-08}}
{{VersionTableRow|2.35|1|2023-07-08}}
Line 13: Line 9:
{{#ifexpr: {{{patches|0}}} > 0|! scope="row" style="text-align:center;" rowspan="{{{patches|1}}}"{{!}}[[Version/{{{1}}}.x|{{{1}}}]]|}}
{{#ifexpr: {{{patches|0}}} > 0|! scope="row" style="text-align:center;" rowspan="{{{patches|1}}}"{{!}}[[Version/{{{1}}}.x|{{{1}}}]]|}}
| [[Version/{{{1}}}.x#Version_{{{1}}}.{{{2}}}|{{{1}}}.{{{2}}}]]
| [[Version/{{{1}}}.x#Version_{{{1}}}.{{{2}}}|{{{1}}}.{{{2}}}]]
| {{{3|--}}}
| style="text-align:center;" | {{{3|--}}}
<includeonly></onlyinclude>
<includeonly></onlyinclude>

Revision as of 07:38, 19 December 2023

Example:

Minor Version Patch Release Date
2.35 2.35.0 2023-06-18
2.35.1 2023-07-08
2.35.2 2023-07-15
2.27 2.27.1 --