Template talk:NFT player

(Redirected from Template talk:NFT player/testcases)
Latest comment: 1 year ago by Eni.Sukthi.Durres in topic 404 error on NFT for the last few days

Edit request on 14 May 2013

edit

please change

[http://www.national-football-teams.com/v2/player.php?id={{{1|{{{id}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}] at National-Football-Teams.com

to

{{#if:{{{pid|}}}
|[http://www.national-football-teams.com/player/{{{pid}}}.html {{{1|{{{name|{{PAGENAME}}}}}}}}] 
|[http://www.national-football-teams.com/v2/player.php?id={{{1|{{{id}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}]
}} at National-Football-Teams.com

this website recently restructured their website, and all of the URLs are now redirects. unfortunately, the new old IDs and new IDs are not the same, so we cannot simply change the URL. so, the solution is to introduce a new parameter, pid which is the new player ID (for example, Carlos Valderrama would change from old |id=14283 and new |pid=13683). the uses of the old parameter can be migrated (probably by bot) to use the new parameter. after some time without any uses of the old parameters, we can remove the code for the old parameters.

due to the fact that this template does not support the new player IDs, there are now several new uses without this template (see this search). the majority still use the old scheme (see this search), but there is no way of guessing the old IDs for new articles/uses. once this is updated, I will make a bot request to convert to the new player IDs. Frietjes (talk) 15:08, 14 May 2013 (UTC)Reply

  Done, (or something very similar) — Martin (MSGJ · talk) 10:10, 15 May 2013 (UTC)Reply
edit

The purpose of this edit is to provide increased privacy and security for users by having the template generate HTTPS links for the NFT site. The NFT site appears to support HTTPS; see https://www.national-football-teams.com/player/2456.html for example. In the template, please change each of the two instances of http://www.national-football-teams.com/ to https://www.national-football-teams.com/ instead. Thanks. --Elegie (talk) 07:27, 22 April 2017 (UTC)Reply

  Done Cabayi (talk) 15:20, 22 April 2017 (UTC)Reply

Parameters

edit

I believe the parameters |work=National Football Teams and |publisher=Benjamin Strack-Zimmermann should be added to the citation version. I'm not accustomed editing templates like this, is it only the code that needs editing, or is there more to it? Thanks, Mattythewhite (talk) 23:35, 12 November 2017 (UTC)Reply

I've changed it so it now displays the above parameters. GiantSnowman 16:13, 13 November 2017 (UTC)Reply

Template-protected edit request on 22 May 2021

edit

Per [1], the surname should be Strack-Zimmermann with two "n"s. Nehme1499 18:57, 22 May 2021 (UTC) Nehme1499 18:57, 22 May 2021 (UTC)Reply

  DoneJonesey95 (talk) 02:27, 23 May 2021 (UTC)Reply

404 error on NFT for the last few days

edit

The English language player profiles on NFT seem to no longer exist. Maybe it's just temporary but maybe not. The template might have to be changed to link to the German language version instead. Stuart1234 (talk) 15:03, 26 March 2023 (UTC)Reply

@Stuart1234: the website has added an "/old/" between url's parts I saw to this player profile, but hoewver must do something to fix it. Eni.Sukthi.Durres (talk) 00:10, 30 March 2023 (UTC)Reply