Template talk:Infobox rugby union biography
A few things
[edit]Firstly, I like this template, it does seem more useful than Template:Infobox rugby biography. I had a look at the history of the template, doesn't seem as if weight was ever in there, I thought it was just an omission. Also, the value is set up in some pages that link to this template. Is there any particular reason not to have this in? Also, are there any objections changing "club" to "team", so that it could be used worldwide (it does say "team" under "senior career", can this be extended to say "current team" instead of "current club", "Senior team appearances and points", etc.)? In southern hemisphere rugby, in order of importance, you have national teams, then Super Rugby franchise teams, then domestic provincial teams (in the ITM Cup and Currie Cup competitions) and then club teams. In Irish rugby union system, the main teams are also called "provinces" instead of "clubs", with club rugby a tier below that. So, since club rugby does not have the same status throughout rugby, I propose a change to "team" would be more generic and usable for worldwide rugby.TheMightyPeanut (talk) 12:25, 23 December 2011 (UTC)
- The situation you've just described makes things really difficult to standardise on a global scale, but yes, I think changing 'Club' to 'Team' makes perfect sense. As for weight, I don't think this is a necessary parameter, but that's just my personal opinion; since a lot of club sites include it, feel free to add. – PeeJay 20:40, 10 April 2013 (UTC)
Proposal
[edit]Would there be any objections to adding in an "Amateur Team" section? This can be used to show amateur teams that a player might have played for before he turned professional, or after his retirement?
These games would obviously not have First Class status, so it would seem incorrect to include them in the "Senior Career" section and they are obviously not Youth or Representative games.
If nothing is specified, it won't get displayed.
See one example with this included and one with this excluded (which looks like the former version) below. Any thoughts?
As a second suggestion, please see the new two boxes, containing a coloured title bar along with a graphic (which is currently in use for Wikipedia in other languages. Any thoughts about that??? TheMightyPeanut (talk)
- This seems like a very good suggestion to me, particularly for categorizing Varsity Cup matches in South Africa which I believe are important enough to include in rugby player's biography but as you say clearly aren't "Senior Career" appearances. I also think the coloured title bar looks pretty cool and is a nice way of neatly separating information. JNicol (talk) 11 April 2013 14:28 [UTC]
- I disagree about the new titlebar and have undone the addition of the pictogram and the change of colour. The rest of the changes make absolute sense though, and I endorse them completely. – PeeJay 15:04, 12 April 2013 (UTC)
{{Infobox rugby union biography/sandbox | name = Player Name1 | image = | image_size = | caption = | fullname = Player Name1 | birth_date = {{birth date and age|1970|01|01|df=y}} | birth_place = Birth Place | height = {{convert|1.50|m|ftin|abbr=on}} | weight = {{convert|80|kg|stlb|abbr=on}} | nickname = Nickname | occupation = Occupation | school = School | university = University | relatives = Relatives | position = Position | currentclub = Current Club | youthyears1 = YthYear1 | youthclubs1 = YthTeam1 | youthyears2 = YthYear2 | youthclubs2 = YthTeam2 | youthyears3 = YthYear3 | youthclubs3 = YthTeam3 | amatyears1 = AmatYear1 | amatteam1 = AmatTeam1 | amatcaps1 = 1 | amatpoints1 = 1 | amatyears2 = AmatYear2 | amatteam2 = AmatTeam2 | amatcaps2 = 2 | amatpoints2 = 2 | amatyears3 = AmatYear3 | amatteam3 = AmatTeam3 | amatcaps3 = 3 | amatpoints3 = 3 | years1 = Yr1 | clubs1 = Team1 | apps1 = 1 | points1 = 1 | years2 = Yr2 | clubs2 = Team2 | apps2 = 2 | points2 = 2 | years3 = Yr3 | clubs3 = Team3 | apps3 = 3 | points3 = 3 | years4 = Yr4 | clubs4 = Team4 | apps4 = 4 | points4 = 4 | years5 = Yr5 | clubs5 = Team5 | apps5 = 5 | points5 = 5 | totalyears = Yr1-Yr5 | totalapps = 15 | totalpoints = 15 | repyears1 = RepYear1 | repteam1 = RepTeam1 | repcaps1 = 1 | reppoints1 = 1 | repyears2 = RepYear2 | repteam2 = RepTeam2 | repcaps2 = 2 | reppoints2 = 2 | repyears3 = RepYear3 | repteam3 = RepTeam3 | repcaps3 = 3 | reppoints3 = 3 | clubupdate = 10 April 2013 | repupdate = 10 April 2013 }}
|
{{Infobox rugby union biography/sandbox | name = Player Name2 | image = | image_size = | caption = | fullname = Player Name2 | birth_date = {{birth date and age|1970|01|01|df=y}} | birth_place = Birth Place | height = {{convert|1.50|m|ftin|abbr=on}} | weight = {{convert|80|kg|stlb|abbr=on}} | nickname = Nickname | occupation = Occupation | school = School | university = University | relatives = Relatives | position = Position | currentclub = Current Club | youthyears1 = YthYear1 | youthclubs1 = YthTeam1 | youthyears2 = YthYear2 | youthclubs2 = YthTeam2 | years1 = Yr1 | clubs1 = Team1 | apps1 = 1 | points1 = 1 | years2 = Yr2 | clubs2 = Team2 | apps2 = 2 | points2 = 2 | years3 = Yr3 | clubs3 = Team3 | apps3 = 3 | points3 = 3 | years4 = Yr4 | clubs4 = Team4 | apps4 = 4 | points4 = 4 | totalyears = Yr1-Yr5 | totalapps = 15 | totalpoints = 15 | repyears1 = RepYear1 | repteam1 = RepTeam1 | repcaps1 = 1 | reppoints1 = 1 | repyears2 = RepYear2 | repteam2 = RepTeam2 | repcaps2 = 2 | reppoints2 = 2 | repyears3 = RepYear3 | repteam3 = RepTeam3 | repcaps3 = 3 | reppoints3 = 3 | clubupdate = 10 April 2013 | repupdate = 10 April 2013 }}
|
{{Infobox rugby union biography/sandbox2 | name = Player Name1 | image = | image_size = | caption = | fullname = Player Name1 | birth_date = {{birth date and age|1970|01|01|df=y}} | birth_place = Birth Place | height = {{convert|1.50|m|ftin|abbr=on}} | weight = {{convert|80|kg|stlb|abbr=on}} | nickname = Nickname | occupation = Occupation | school = School | university = University | relatives = Relatives | position = Position | currentclub = Current Club | youthyears1 = YthYear1 | youthclubs1 = YthTeam1 | youthyears2 = YthYear2 | youthclubs2 = YthTeam2 | youthyears3 = YthYear3 | youthclubs3 = YthTeam3 | amatyears1 = AmatYear1 | amatteam1 = AmatTeam1 | amatcaps1 = 1 | amatpoints1 = 1 | amatyears2 = AmatYear2 | amatteam2 = AmatTeam2 | amatcaps2 = 2 | amatpoints2 = 2 | amatyears3 = AmatYear3 | amatteam3 = AmatTeam3 | amatcaps3 = 3 | amatpoints3 = 3 | years1 = Yr1 | clubs1 = Team1 | apps1 = 1 | points1 = 1 | years2 = Yr2 | clubs2 = Team2 | apps2 = 2 | points2 = 2 | years3 = Yr3 | clubs3 = Team3 | apps3 = 3 | points3 = 3 | years4 = Yr4 | clubs4 = Team4 | apps4 = 4 | points4 = 4 | years5 = Yr5 | clubs5 = Team5 | apps5 = 5 | points5 = 5 | totalyears = Yr1-Yr5 | totalapps = 15 | totalpoints = 15 | repyears1 = RepYear1 | repteam1 = RepTeam1 | repcaps1 = 1 | reppoints1 = 1 | repyears2 = RepYear2 | repteam2 = RepTeam2 | repcaps2 = 2 | reppoints2 = 2 | repyears3 = RepYear3 | repteam3 = RepTeam3 | repcaps3 = 3 | reppoints3 = 3 | clubupdate = 10 April 2013 | repupdate = 10 April 2013 }}
|
{{Infobox rugby union biography/sandbox2 | name = Player Name2 | image = | image_size = | caption = | fullname = Player Name2 | birth_date = {{birth date and age|1970|01|01|df=y}} | birth_place = Birth Place | height = {{convert|1.50|m|ftin|abbr=on}} | weight = {{convert|80|kg|stlb|abbr=on}} | nickname = Nickname | occupation = Occupation | school = School | university = University | relatives = Relatives | position = Position | currentclub = Current Club | youthyears1 = YthYear1 | youthclubs1 = YthTeam1 | youthyears2 = YthYear2 | youthclubs2 = YthTeam2 | years1 = Yr1 | clubs1 = Team1 | apps1 = 1 | points1 = 1 | years2 = Yr2 | clubs2 = Team2 | apps2 = 2 | points2 = 2 | years3 = Yr3 | clubs3 = Team3 | apps3 = 3 | points3 = 3 | years4 = Yr4 | clubs4 = Team4 | apps4 = 4 | points4 = 4 | totalyears = Yr1-Yr5 | totalapps = 15 | totalpoints = 15 | repyears1 = RepYear1 | repteam1 = RepTeam1 | repcaps1 = 1 | reppoints1 = 1 | repyears2 = RepYear2 | repteam2 = RepTeam2 | repcaps2 = 2 | reppoints2 = 2 | repyears3 = RepYear3 | repteam3 = RepTeam3 | repcaps3 = 3 | reppoints3 = 3 | clubupdate = 10 April 2013 | repupdate = 10 April 2013 }}
|
Rugby sevens proposal
[edit]Is there a possible chance we could add a rugby sevens section? Kidsoljah (talk) 20:38, 1 June 2016 (UTC)
- Kidsoljah, this template is being merged with Template:Infobox rugby biography, so it will once they are merged. Frietjes (talk) 12:53, 29 June 2016 (UTC)
- Given that rugby sevens is now part of the Summer Olympics, I take it that the merged template will be capable of dealing with medal templates? Schwede66 23:34, 20 August 2016 (UTC)
Testcase check
[edit]@Frietjes and TheMightyPeanut: check my work? I think I've got it to a point where I've got compatibility going both ways. My plan going forward:
- Alt param names for existing rugby bio params to account for r.u. bio params (already done)
- Alt param names for all r.u. bio params -
{{{ru_clubcaps1|{{{clubcaps1|}}}}}}
- Do a massive AWB run to:
- Convert existing rubgy bio (singular) params into the numbered "r.u. bio" style
|ru_clubcaps=
→|ru_clubcaps1=
etc - Give numbered params the ru_ prefix found in rugby bio
|clubcaps1=
→|ru_clubcaps1=
- Convert existing rubgy bio (singular) params into the numbered "r.u. bio" style
- Remove "singular" params (i.e. clean up) and alternate names.
Any thoughts about or modifications to the plan are appreciated. Thanks! Primefac (talk) 13:46, 21 March 2017 (UTC)
- Primefac, if I recall, SporkBot was approved to do a similar conversion from
<br>
delimited lists to numbered parameters. are you proposing to do that with your AWB run, or are you planning to just rename the parameters, but keep the<br>
delimited lists? do you have any examples in the testcases which are using the old<br>
delimited lists? for {{infobox football biography}} we support both types of syntax, but we have deprecated the<br>
delimited lists, and the SporkBot task was to convert to the new syntax. Frietjes (talk) 14:18, 21 March 2017 (UTC)- Frietjes, I did not know the SporkBot task existed, good to know. Currently all pages calling {{infobox rugby biography}} use
<br>
lists. With 8550 transclusions, I think it would be best to actually replace those lists with the numbered parameters of the existing rugby union bio template (even though it only has 1440 transclusions) to get the ACCESS issues sorted. I would consider it to be part of the merging process. Primefac (talk) 14:25, 21 March 2017 (UTC)- Primefac, yes, we should definitely replace the
<br>
lists if possible. the reason why I mention that bot task is that (1) it's similar, and (2) there was another bot approved to do the same task, but with AWB, and that other bot horribly mangled the articles trying to do the conversion. basically, you have to be able to process multiple<br>
lists at the same time, make sure the are the same length, and then convert them. if there are different numbers of<br>
tags in the two lists, you have to let a human do it to make sure the alignment is correct. we might be able to get SporkBot to do this one, if Plastikspork still has the code used for the {{infobox football biography}} conversion. that is, unless you have AWB code that can do that conversion in a failsafe manner. Frietjes (talk) 14:30, 21 March 2017 (UTC)- Yeah, I'll ping PS and see if the bot code is still kicking around. Primefac (talk) 15:07, 21 March 2017 (UTC)
- Primefac, yes, we should definitely replace the
- Frietjes, I did not know the SporkBot task existed, good to know. Currently all pages calling {{infobox rugby biography}} use
- Hi @Primefac:, thanks a lot for your work on this. It looks good and I think it a big improvement! If there is a "massive AWB run" to be done, I'd propose that the term "caps" be replaced with "apps" throughout. There was a discussion about this some time ago, which was supported, but never implemented. Obviously it will be easy to simply change the label on the template, but I think it would make sense to change the actual parameter names too to reflect this. (The The first proposal in that section will also be addressed with this merger, so it's all good!) I would actually also propose reversing your proposed change with the ru_ prefix, i.e.
|ru_clubcaps1=
→|clubcaps1=
, since rugby league has its own infobox, but that will probably have to be run by WP:RU. TheMightyPeanut (talk) 14:42, 21 March 2017 (UTC)- I was just about to make that same point about "caps" vs "apps". Clubs don't usually award caps, and it's not always clear whether a national team has either, so we should perhaps stick with "apps" throughout. – PeeJay 14:57, 21 March 2017 (UTC)
- TheMightyPeanut, I actually had the intention of putting the two templates up for merger. {{infobox rugby biography}} already has the functionality to handle rugby league (with the "rl_" prefix), so why not have a single box for everything? Primefac (talk) 15:07, 21 March 2017 (UTC)
- Labels changed all around, will obviously have to wait until the bot run to change existing param usage. Primefac (talk) 16:17, 21 March 2017 (UTC)
- Hi @Primefac:, that's definitely a discussion worth having. The only problem with merging them is that the two infoboxes pertain to two completely different sports. Each sport generally has its own infobox derivative. There are a lot of cases where players play in multiple sports, not sure where to draw the line. TheMightyPeanut (talk) 12:00, 22 March 2017 (UTC)
- That might have been why the template includes the RL options. But yes, that will definitely be an interesting discussion. Primefac (talk) 12:06, 22 March 2017 (UTC)
- Hi @Primefac:, that's definitely a discussion worth having. The only problem with merging them is that the two infoboxes pertain to two completely different sports. Each sport generally has its own infobox derivative. There are a lot of cases where players play in multiple sports, not sure where to draw the line. TheMightyPeanut (talk) 12:00, 22 March 2017 (UTC)
- I was just about to make that same point about "caps" vs "apps". Clubs don't usually award caps, and it's not always clear whether a national team has either, so we should perhaps stick with "apps" throughout. – PeeJay 14:57, 21 March 2017 (UTC)