Template:VersionTableRow: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Fix error for versions with only 1 patch)
(Add template category, fix patch link)
 
(One intermediate revision by the same user not shown)
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 12: Line 8:
<onlyinclude><includeonly>|-
<onlyinclude><includeonly>|-
{{#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#{{{1}}}.{{{2}}}|{{{1}}}.{{{2}}}]]
| {{{3|--}}}
| style="text-align:center;" | {{{3|--}}}
<includeonly></onlyinclude>
</includeonly></onlyinclude>
 
[[Category:Templates]]

Latest revision as of 08:53, 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 --