Template:Jam series leaderboard/row: Difference between revisions

From VNDev Wiki
better handling for in-progress jams
simplify code using latest occurrence property
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr><td>{{#expr:{{{#}}}+1}}</td>
<tr><td>{{#expr:{{{#|0}}}+1}}</td>
<td>{{{count}}}{{#ifexpr: {{#time: xNU | {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{jam|Spooktober Visual Novel Jam}}}]] |?Has end date#-F[M j Y] |sort=Has end date|order=descending|limit=1|headers=hide|mainlabel=-|searchlabel=}} }}
<td>{{{count}}}</td>
  > {{#time: xNU | {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{jam|Spooktober Visual Novel Jam}}}]] |?Modification date#-F[M j Y] |sort=Modification date|order=descending|limit=1|headers=hide|mainlabel=-|searchlabel=}} }}
<td>{{#show: {{{jam|Spooktober Visual Novel Jam}}} |?Has short name}}</td>
  |&#32;(partial)
<td>{{#ifexpr: {{#time: xNU | {{#show: {{{jam|Spooktober Visual Novel Jam}}} |?Has latest occurrence.Has end date#-F[M j Y]}} }}  
  |}}
   > {{#time: xNU | {{#show: {{{jam|Spooktober Visual Novel Jam}}} |?Has latest occurrence.Modification date#-F[M j Y]}} }}
</td>
   | {{#show: {{{jam|Spooktober Visual Novel Jam}}} |?Has latest occurrence.Has start date#-F[Y]}} (partial)
<td>{{{jam}}}</td>
   | {{#show: {{{jam|Spooktober Visual Novel Jam}}} |?Has latest occurrence.Has start date#-F[Y]}}
<td>{{#ifexpr: {{#time: xNU | {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{jam|Spooktober Visual Novel Jam}}}]] |?Has end date#-F[M j Y] |sort=Has end date|order=descending|limit=1|headers=hide|mainlabel=-|searchlabel=}} }}  
   > {{#time: xNU | {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{jam|Spooktober Visual Novel Jam}}}]] |?Modification date#-F[M j Y] |sort=Modification date|order=descending|limit=1|headers=hide|mainlabel=-|searchlabel=}} }}
   | {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{jam|Spooktober Visual Novel Jam}}}]] |?Modification date#-F[M. j, Y] |sort=Modification date|order=descending|limit=1|headers=hide|mainlabel=-|searchlabel=}}
   | {{#ask: [[Jam occurrence:+]] [[Is occurrence of::{{{jam|Spooktober Visual Novel Jam}}}]] |?Has end date#-F[Y] |sort=Has end date|order=descending|limit=1|headers=hide|mainlabel=-|searchlabel=}}
}}
}}
</td>
</td>
</tr>
</tr>

Latest revision as of 17:52, 26 January 2025

1 {{{count}}} Spooktober 2024