Template:VersionTableRow: Difference between revisions
Appearance
Created page with "Example: {| class="wikitable" |- ! scope="col" style="text-align:center;" | Minor Version ! Patch ! Release Date {{VersionTableRow|patches=3|2.35|0|2023-06-18}} {{VersionTableRow|2.35|1|2023-07-08}} {{VersionTableRow|2.35|2|2023-07-15}} |} <onlyinclude><includeonly>|- {{#ifexpr: {{{patches|1}}} > 1|! scope="row" style="text-align:center;" rowspan="{{{patches|1}}}"{{!}}[[Version/{{{1}}}.x|{{{1}}}]]|}} | [[Version/{{{1}}}.x#Version_{{{1}}}.{{{2}}}|{{{1}}}.{{{2}}}]] | {{{..." |
Fix error for versions with only 1 patch |
||
Line 8: | Line 8: | ||
{{VersionTableRow|2.35|1|2023-07-08}} | {{VersionTableRow|2.35|1|2023-07-08}} | ||
{{VersionTableRow|2.35|2|2023-07-15}} | {{VersionTableRow|2.35|2|2023-07-15}} | ||
{{VersionTableRow|patches=1|2.27|1}} | |||
|} | |} | ||
<onlyinclude><includeonly>|- | <onlyinclude><includeonly>|- | ||
{{#ifexpr: {{{patches| | {{#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|--}}} | | {{{3|--}}} | ||
<includeonly></onlyinclude> | <includeonly></onlyinclude> |