Template:Jam occurrence leaderboard/query: Difference between revisions
From VNDev Wiki
m oopsie |
m fixy fix |
||
Line 12: | Line 12: | ||
|named args=yes | |named args=yes | ||
<!-- The below section calculates the correct rank number by comparing to prior items --> | <!-- The below section calculates the correct rank number by comparing to prior items --> | ||
|userparam={{#ifexpr: {{{1}}} = 1 | | |userparam={{#ifexpr: {{{1}}} = 1 | 1 | | ||
{{#ifexpr: {{#ask: [[Jam occurrence:+]] |?Has entries#-|format=plainlist|sort=Has entries|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-1}} }} | {{#ifexpr: {{#ask: [[Jam occurrence:+]] |?Has entries#-|format=plainlist|sort=Has entries|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-1}} }} | ||
= {{#ask: [[Jam occurrence:+]] |?Has entries#-|format=plainlist|sort=Has entries|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-2}} }} | = {{#ask: [[Jam occurrence:+]] |?Has entries#-|format=plainlist|sort=Has entries|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{#expr: {{{1}}}-2}} }} |