Template talk:Soccerbase
From Wikipedia, the free encyclopedia
Contents |
[edit] Link text
Might I suggest changing the link text to "Career Stats at Soccerbase" rather than "Player X at Soccerbase" - that way it's clear what's being linked to. ArtVandelay13 10:30, 28 June 2006 (UTC)
- I've had a bit of a think about this... I think you're right. But I'd prefer "Player X career stats at Soccerbase". I'll make the change... if anyone disagrees... let me know! Robwingfield (talk) 15:08, 6 July 2006 (UTC)
- I've added Template:Soccerbase (manager), which I think is useful alongside playing stats for a player-manager (see Craig Brewster for my example). How would you guys feel about changing 'X's career stats' to 'X's playing career stats'? Fedgin 13:32, 8 August 2006 (UTC)
- Personally, I think 'Career Stats' on its own would be assumed to be the playing career, unless otherwise stated, so I don't think there's any need to change. If a player had both links on his page, it'd be pretty clear what was what. ArtVandelay13 09:19, 10 August 2006 (UTC)
- I've added Template:Soccerbase (manager), which I think is useful alongside playing stats for a player-manager (see Craig Brewster for my example). How would you guys feel about changing 'X's career stats' to 'X's playing career stats'? Fedgin 13:32, 8 August 2006 (UTC)
[edit] Removing name parameter
Since this is a big change that would require a bot to edit all current uses of the template I thought I'd talk about it here first. Why do we need to add the player name, can't we use {{{PAGENAME}}} instead? It's not going to be very often that we link from a player's page to somebody else's soccerbase stats. I think we should be able to just use {{sb|123123}}, 123123 being the id of the player at soccerbase.com. Yonatan (contribs/talk) 19:31, 28 February 2007 (UTC)
- That idea works fine where the player name and article name are identical. It falls down however, where the player name has a suffix e.g. John Smith (footballer). Daemonic Kangaroo 19:43, 28 February 2007 (UTC)
- This can probably be taken care of by someone adding code that automatically removes (footballer) (football) (club) (soccer) or whatever other suffix we can think of. Personally I don't know how to do it but I'm sure someone more technically savvy will know how to do it. Is the name parameter optional right now and if it isn't used it automatically reverts to {{{PAGENAME}}}? —The preceding unsigned comment was added by Yonatanh (talk • contribs) 19:55, 28 February 2007 (UTC)
- Daemonic Kangaroo hit the nail on the head with why I included that parameter when I set up the template. It's an optional parameter, so doesn't need to be included, but it's good practise to do so, as a page which doesn't include a disambiguation suffix may be moved in the future to include one. robwingfield «T•C» 22:43, 28 February 2007 (UTC)
- Fair enough, I didn't realize it was optional. Is there some way to make it so if there's just one parameter it automatically treats it as if it's the id parameter? Yonatan (contribs/talk) 00:32, 1 March 2007 (UTC)
- As far as I'm aware, it will do. Applying the parameters positionally, rather than as name/value pairs, means that the ID comes first. So if only one parameter is specified, it will be the first, and therefore the ID. But as I said, it's good practise to provide both parameters, as if the page is ever moved, someone will need to edit the template call and add that second parameter to avoid the likes of the following:
- which is why the name is specified in the use of the template at the Gary Roberts (footballer born 1984) article. So... I'd encourage you NOT to just specify the ID. robwingfield «T•C» 00:02, 4 March 2007 (UTC)
- Fair enough, I didn't realize it was optional. Is there some way to make it so if there's just one parameter it automatically treats it as if it's the id parameter? Yonatan (contribs/talk) 00:32, 1 March 2007 (UTC)
- Daemonic Kangaroo hit the nail on the head with why I included that parameter when I set up the template. It's an optional parameter, so doesn't need to be included, but it's good practise to do so, as a page which doesn't include a disambiguation suffix may be moved in the future to include one. robwingfield «T•C» 22:43, 28 February 2007 (UTC)
- This can probably be taken care of by someone adding code that automatically removes (footballer) (football) (club) (soccer) or whatever other suffix we can think of. Personally I don't know how to do it but I'm sure someone more technically savvy will know how to do it. Is the name parameter optional right now and if it isn't used it automatically reverts to {{{PAGENAME}}}? —The preceding unsigned comment was added by Yonatanh (talk • contribs) 19:55, 28 February 2007 (UTC)
[edit] Apostrophes "s" or not
Personally I think that there should be an apostrophe "s" after the players name, e.g WikiGull's career stats, as they are the career stats of the player. I've noticed that a couple editors have been removing the 's, so I thought I'd raise the question here as to why. I'm also unsure why at least one editor is adding the parameter names back in when they're not needed (at least I don't think they are), for example {{soccerbase|1|WikiGull}} gives the same as {{soccerbase|id=1|name=WikiGull}}, but the former is shorter. Welcome thoughts. WikiGull 14:47, 21 June 2007 (UTC)
- Taking the two issues separately:
- I guess you could look at it two ways. When I created the template, I meant for them to be career stats about someone, rather than belonging to someone. So in that case, there's no need to make it possessive. I'd be in favour of leaving the template how it is, to be honest. But the change should definitely be applied in the template, rather than the template call, if that's the way the consensus goes. I'll carry on correcting the likes of
{{soccerbase|id=1|name=WikiGull's}}
to{{soccerbase|id=1|name=WikiGull}}
wherever I see it. - Naming the parameters isn't a big deal. No one should make an edit simply to remove the naming or add it in, but my preference is not to name them, and that's what I'll continue to do when I'm creating articles or giving an article a complete overhaul.
- I guess you could look at it two ways. When I created the template, I meant for them to be career stats about someone, rather than belonging to someone. So in that case, there's no need to make it possessive. I'd be in favour of leaving the template how it is, to be honest. But the change should definitely be applied in the template, rather than the template call, if that's the way the consensus goes. I'll carry on correcting the likes of
- Happy to debate my opinions, though. I've had them changed before! :-) robwingfield «T•C» 18:17, 21 June 2007 (UTC)
- Thanks for the response. Agree with the 2nd point - it was because I'd seen an edit just doing that that I questionned it. WikiGull 18:31, 21 June 2007 (UTC)
[edit] interwiki add
please add interwiki for Georgian Wikipedia ka:თარგი:Soccerbase. thanks. Rustavizauri (talk) 21:24, 26 January 2008 (UTC)
[edit] Categories
{{editprotected}} Could the categories be changed as follows? GregorB (talk) 18:13, 20 April 2008 (UTC)
<noinclude> [[Category:Sports external link templates|{{PAGENAME}}]] [[Category:Football (soccer) templates|{{PAGENAME}}]] </noinclude>