|
|
(13 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{{date}}} | | <noinclude><table></noinclude>{{#ifexpr: {{Jam occurrence leaderboard/tiecalc|rank={{{1|1}}}|date={{{date|Jan 1 2100}}} | vnOnly={{{vnOnly|}}} | for={{{for|entries}}} | format=number }} < 21 | |
| {{#ask: [[Jam occurrence:+]] [[Has end date::<{{{date|Jan 24 2025}}}]] {{#ifeq:{{{vnOnly|}}}|VN-specific jams|[[Is visual novels only::true]]|}} | | <tr><td>{{Jam occurrence leaderboard/tiecalc|rank={{{1|1}}}|date={{{date|Jan 1 2100}}} | vnOnly={{{vnOnly|}}} | for={{{for|entries}}} | format=display }}</td> |
| |?#-=jam
| | <td>{{Jam occurrence leaderboard/prop | date={{{date|Jan 1 2100}}} | vnOnly={{{vnOnly|}}} | for={{{for|entries}}} | offset={{#expr: {{{1|1}}}-1}} | simple=no}}</td> |
| |?Has {{{for|entries}}}=count
| | <td>{{PAGENAME:{{Jam occurrence leaderboard/prop | date={{{date|Jan 1 2100}}} | vnOnly={{{vnOnly|}}} | for={{{for|entries}}} | offset={{#expr: {{{1|1}}}-1}} | prop=name }} }}</td> |
| |template=Jam occurrence leaderboard/row-{{{for|entries}}} | | </tr> |
| |format=plainlist | | |}}<noinclude></table></noinclude> |
| |sort=Has {{{for|entries}}}
| |
| |order=descending | |
| |limit=1 | |
| |link=none
| |
| |searchlabel=
| |
| |offset={{#expr: {{{1}}}-1}}
| |
| |named args=yes | |
| <!-- The below section calculates the correct rank number by comparing to prior items -->
| |
| |userparam={{#ifexpr: {{{1}}} = 1 | 1 |
| |
| {{#ifexpr: {{#ask: [[Jam occurrence:+]] |?Has {{{for|entries}}}#-|format=plainlist|sort=Has {{{for|entries}}}|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-1}} }}
| |
| = {{#ask: [[Jam occurrence:+]] |?Has {{{for|entries}}}#-|format=plainlist|sort=Has {{{for|entries}}}|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-2}} }}
| |
| | <!--At least two way tie; now test for three way tie-->
| |
| {{#ifexpr: {{#ask: [[Jam occurrence:+]] |?Has {{{for|entries}}}#-|format=plainlist|sort=Has {{{for|entries}}}|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-1}} }}
| |
| = {{#ask: [[Jam occurrence:+]] |?Has {{{for|entries}}}#-|format=plainlist|sort=Has {{{for|entries}}}|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-3}} }}
| |
| | {{#expr: {{{1}}}-2}}
| |
| | {{#expr: {{{1}}}-1}}
| |
| }} <!--end if for three-way tie-->
| |
| | <!--Not a tie or is first instance of a tie-->{{{1}}}
| |
| }} <!--end if for two-way tie-->
| |
| }} <!--end if for param is 1-->
| |
| }}
| |