Template:Jam occurrence leaderboard/query: Difference between revisions

From VNDev Wiki
fixing the subquery outputs
m okay, let's try it with the actual ranks now
Line 18: Line 18:
         {{#ifexpr: {{#ask: [[Jam occurrence:+]] |?Has entries#-|format=plainlist|sort=Has entries|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{{1}}} }}
         {{#ifexpr: {{#ask: [[Jam occurrence:+]] |?Has entries#-|format=plainlist|sort=Has entries|order=descending|limit=1|link=none|searchlabel=|headers=hide|mainlabel=-|offset={{{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}} }}
           | Three-way tie
           | {{#expr: {{{1}}}-2}}
           | Two-way tie
           | {{#expr: {{{1}}}-1}}
         }} <!--end if for three-way tie-->  
         }} <!--end if for three-way tie-->  
       | <!--Not a tie or is first instance of a tie-->Not tie
       | <!--Not a tie or is first instance of a tie-->{{{1}}}
     }} <!--end if for two-way tie-->
     }} <!--end if for two-way tie-->
   }} <!--end if for param is 1-->
   }} <!--end if for param is 1-->
}}
}}

Revision as of 17:01, 24 January 2025