Template:Jam occurrence leaderboard/query: Difference between revisions

From VNDev Wiki
m extra bracket
alright - let's see if this works? major refactor, hopefully basically done
Line 1: Line 1:
{{#ask: [[Jam occurrence:+]] [[Has end date::<{{{date|Jan 1 2100}}}]] {{#ifeq:{{{vnOnly|}}}|VN-specific jams|[[Is visual novels only::true]]|}}
{{#ifexpr: {{Jam occurrence leaderboard/tiecalc|rank={{{1|1}}}|date={{{date|}}} | vnOnly={{{vnOnly|}}} | for={{{for}}} | format=number }} < 21 |
|?#-=jam
  <tr><td>{{Jam occurrence leaderboard/tiecalc|rank={{{1|1}}}|date={{{date|}}} | vnOnly={{{vnOnly|}}} | for={{{for}}} | format=display }}</td>
|?Has {{{for|entries}}}=count
  <td>{{Jam occurrence leaderboard/prop | date={{{date|}}} | vnOnly={{{vnOnly|}}} | for={{{for}}} | offset={{#expr: {{{1|1}}}-1}} }}</td>
|template=Jam occurrence leaderboard/row-{{{for|entries}}}
  <td>{{PAGENAME:{{Jam occurrence leaderboard/prop | date={{{date|}}} | vnOnly={{{vnOnly|}}} | for={{{for}}} | offset={{#expr: {{{1|1}}}-1}} | prop=name }} }}</td>
|format=plainlist
  </tr>
|sort=Has {{{for|entries}}}
|}}
|order=descending
|limit=1
|link=none
|searchlabel=
|offset={{#expr: {{{1|1}}}-1}}
|named args=yes
|userparam={{Jam occurrence leaderboard/tiecalc|rank={{{1|1}}}|date={{{date|}}} | vnOnly={{{vnOnly|}}} | for={{{for}}} }}
}}

Revision as of 08:56, 25 January 2025

1 <ul><li>"" contains an extrinsic dash or other characters that are invalid for a date interpretation.</li> <!--br--><li>"Has {{{for}}}" contains a listed "{" character as part of the property label and has therefore been classified as invalid.</li></ul>