Author Topic: Displaying who placed in what position.  (Read 105 times)

scarecrowbirdie

  • Newbie
  • *
  • Posts: 9
    • View Profile
Displaying who placed in what position.
« on: June 19, 2017, 09:06:11 PM »
I am trying to find that will show just the name of a person who placed in a specified position (1st, 2nd, 3rd)

for example

John wins
Ed is second
Jimmy is third


John

I want just the name John to show up in a cell (or table)

Thanks!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Displaying who placed in what position.
« Reply #1 on: June 20, 2017, 01:41:33 PM »
The <rankings> or <inlineRankings> layout tokens would normally be used for this.  They don't allow you to specify a single player, although they probably should.  But you can specify a max number of players, and since it starts with rank 1, you can at least pull off your example of showing the winner:

<inlineRankings template="[player]" connector=", " max="1">

scarecrowbirdie

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Displaying who placed in what position.
« Reply #2 on: June 20, 2017, 05:24:21 PM »
Thanks. I was thinking of doing something with a custom table. I'll see if I can make the rankings work.