Template talk:UEFA player

Latest comment: 3 years ago by Mike Peel in topic Template:UEFA player is broken

Template:UEFA player is broken

edit

Template:UEFA player doesn't work any more due to external website changes.

For example: Anna Pilipenko: {{UEFA player|id=102815|name=Anna Pilipenko}}: Anna PilipenkoUEFA competition record (archive) ... Sorry! That page doesn't exist... Please head back to the UEFA.com homepage.

The link is now https://www.uefa.com/womenseuro/teams/players/102815--anna-pilipenko/

I'm not sure how to fix the template to make it use the new link. – wbm1058 (talk) 20:33, 16 January 2021 (UTC)Reply

@Wbm1058: That link is not an adequate replacement. It seems to be only for Women's Euro 2022, which means it won't work for men or for women with a record in previous competitions. For instance, the archived version for Sara Däbritz has her record in the World Cup, Euros and Champions League, while her entry at the new link is empty of games. The good news is that the ID is unchanged, so finding the appropriate link might still be possible. —  Jts1882 | talk  13:01, 17 January 2021 (UTC)Reply

I found that the link given in Wikidata for UEFA Player ID property of the format https://www.uefa.com/uefachampionsleague/clubs/players/250141859/ directs to a player's page in UEFA champions league. This page also shows the player's stats like in https://www.uefa.com/uefachampionsleague/clubs/players/250134380--edouard-mendy/.

But if we want to see the same player's stats in UEFA Champions League as well as Europa League two different format links would be needed : https://www.uefa.com/uefaeuropaleague/clubs/players/1901746--david-de-gea/, https://www.uefa.com/uefachampionsleague/clubs/players/1901746--david-de-gea/.

I have not been able to find a link similar to Sara Däbritz. I think UEFA has changed its website and now lists players depending on which League we are taking about instead of listing all the Leagues one player participated together. SInce there are 4 such Leagues under UEFA -> UEFA Champions League, UEFA Europa League, UEFA EURO 2020, UEFA Women's Champions League we could change the template in such a way to include link to the players pages in these leagues if it exists.

Does this seem like a good idea or has someone found an adequate link to replace the one given in the Template? Thanks! --ANU Outreachy (talk) 10:02, 1 May 2021 (UTC)Reply

Just pinging @Wbm1058, Jts1882, and TheBigJagielka:. Thanks. Mike Peel (talk) 16:59, 1 May 2021 (UTC)Reply