![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Here is the regex I used to do most of the cleanup: s/{{Thoroughbred racehorse infobox\r\| ?Horse Name\s+= ?(.+)\r\| ?Image\s+= ?(.+)\r\| ?Sire\s+= ?(.+)\r\| ?Dam\s+= ?(.+)\r\| ?Damsire\s+= ?(.+)\r\| ?Sex\s+= ?(.+)\r\| ?Foaled\s+= ?(.+)\r\| ?Country\s+= ?(.+)\r\| ?Colour\s+= ?(.+)\r\| ?Breeder\s+= ?(.+)\r\| ?Owner\s+= ?(.+)\r\| ?Trainer\s+= ?(.+)\r\| ?Record\s+= ?(.+)\r\| ?Prizemoney\s+= ?(.+)\r\| ?Race\s+= ?(.+)\r\| ?Year/s\s+= ?(.+)\r\| ?Edit date\s+= ?(.+)\r}}/{{Thoroughbred racehorse infobox\r| name = \1\r| image = \2\r| caption = \r| sire = \3\r| dam = \4\r| damsire = \5\r| sex = \6\r| foaled = \7\r| country = \8\r| colour = \9\r| breeder = \10\r| owner = \11\r| trainer = \12\r| record = \13\r| prize money = \14\r| honors = \r| race = \15\r| year = \16\r| statistics date = \17\r}}/
I think that Handicappers request for assistance may have been slightly misinterpreted. The change has done away with the Major Wins heading and the race details that follow. Each infobox has now been stripped of much of the information that it was seeking to convey. I think that Handicapper was looking for an additional heading of "Honours" to be added underneath the Major wins section. ( dark horse 06:40, 30 August 2006 (UTC))
I did another version today that can be seen at Slew o'Gold. I'd still prefer to have the two bottom boxes without subtitles, just whatever text inserted fit automatically left or centered. However, I have no idea how to do that. Comments and improvements please before utilizing/replacing. Handicapper 19:18, 9 September 2006 (UTC)
Theres an odd formatting bug visible at Sceptre (horse). This horse has 'race' set but not 'awards' or 'honors'. The template inserts an additional blank paragraph above the article. If you put anything in awards, or honors; or take away the race parameter, this misformatting goes away. I had a look at the templates (about which I know nothing - can you make your own to test them?) and the only thing that struck me as odd was this line:
#if:{{{race|}}}{{{awards|}}}{{{honours|}}}...
... every other occurence of pipe symbols is surrounded by <includeonly> tags, these 3 are left alone. Should they have them too? -- Bazzargh ( talk) 00:34, 27 February 2008 (UTC)
Is there any objection to removing this parameter? It seems unrealistic to expect users to update it manually whenever the page is revised. Until I edited them recently, several hundred pages were using templates that would display the current time the user is viewing the page as the time that the page was "last updated," which obviously doesn't make sense and only serves to falsely assure the user that the page is up-to-date when it actually may be missing recent information. I haven't noticed this parameter in any infobox except for those related to horse racing. Propaniac ( talk) 14:59, 28 December 2009 (UTC)
I made some improvements to this template yesterday; { Handicapper reverted them, marking his revert as a minor edit - it was far from that. He says on my talk page:
I reversed your modifications […] as 1) I don't understand its purpose or value, and 2) out of courtesy, such a change should have first been put up for discussion at Wikipedia talk:WikiProject Thoroughbred racing.
Firstly the changes we documented in edit summaries and this template's own documentation (which was not reverted). Secondly, this is a wiki; there is no requirement to obtain prior permission to make edits; especially edits which implement metadata for which there as been consensus across Wikipedia for years.
To be clear: the edits cause the template to display, in the bottom line, the vernacular, or common, name ("Horse") and scientific name of the species; and to emit a microformat containing that data. This tells things like search engines and other tools that the page is about a Horse. For more on microformats, see the microformats project. Accordingly, I've restored the changes. I'm happy to explain further; that's what this page is for. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 18:31, 23 March 2010 (UTC)
I added the alternative to use simply "name" rather than "horsename". The fact that this is the name of the horse should be clear. Let me know if this is a problem. Thanks! Plastikspork ―Œ(talk) 17:05, 14 May 2010 (UTC)
I've seen a parameter for alt text in a number of other infoboxes, and would like to add one for this infobox also.-- Miniapolis ( talk) 17:40, 23 August 2011 (UTC)
|image=[[File:Example.jpg|240px]]
, as opposed to having separate parameters for each item used to specify the image, you can specify the image alt text by adding the relevant parameter inside that, i.e. |image=[[File:Example.jpg|200px|alt=A brown horse]]
.|image_name=
|image_size=
|image_alt=
|image_name=Example.jpg
|image_size=200px
|image_alt=A brown horse
is exactly equivalent to specifying |image=[[File:Example.jpg|200px|alt=A brown horse]]
. Of these, if |image_size=
is omitted it defaults to 240px, and |image_alt=
is optional, so specifying |image_name=Example.jpg
is equivalent to specifying |image=[[File:Example.jpg|240px]]
. --
Redrose64 (
talk)
19:07, 23 August 2011 (UTC)Anyone else feel (as I do) that a death-date parameter would be useful and appropriate? Miniapolis ( talk) 21:46, 14 April 2012 (UTC)
Done as
|death_date=
.
Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits
20:34, 24 April 2015 (UTC)
Now that we are renaming the project to WikiProject Horse racing, we should rename and transclude this template too, but I don't know how to do it, so someone else needs to. I recommend it simply be named "Template:Infobox race horse" or racehorse (don't care which). May need to tweak the /doc subpage too. Montanabw (talk) 20:15, 6 May 2012 (UTC)
{{
infobox thoroughbred racehorse}}
, per
WP:NOTBROKEN. --
Redrose64 (
talk)
22:27, 6 May 2012 (UTC)
The record parameter contains four numbers, in the format "T: W-P-S ".
—[ AlanM1( talk)]— 21:16, 30 December 2012 (UTC)
@ RexxS:I still can't figure out how to properly add parameters, but when editing /info/en/?search=Bamboo_Harvester
I discovered that it might be useful to add two parameters: one for "birth_name" and one either called "othername" or "alt name" I also recommended this for {{ Infobox named horse}}
Many horses have their birth names changed; (e.g. /info/en/?search=Paynter_(horse) was originally named MC's Dream.) Also, many famous horses had well-known nicknames, (e.g. /info/en/?search=Man_o%27_War was "Big Red" , etc...) plus some horses imported between nations and some Olympic-level horses may go through multiple name changes, especially Thoroughbreds who come off the track and are retrained to a different discipline where name changes are allowed.
Another question: Infobox named horse has no color streak at the top, neither does {{ Infobox horse breed}} Seems to be the wave of the future. Should we consider eliminating the tan banner at the top of this template too? We will need to keep some color for the dividing sections to make them clear, but....?
Comments? Thoughts? Montanabw (talk) 07:57, 26 March 2014 (UTC)
|former name=
and |nickname=
? the displayed labels could be pluralised thus: Former name(s).
Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits
10:31, 26 March 2014 (UTC)|birth_name=
, |former_name=
and |nickname=
seems reasonable (or |other_names=
). as does removing the tan banner.
Frietjes (
talk)
16:10, 26 March 2014 (UTC)
I've enabled up to six modules (e.g. child infoboxes) in the template. The first three (|module=
, |module2=
, |module3=
) will appear before "Major wins" and the latter three (|module4=
, |module5=
, |module6=
) at the bottom of the infobox. I've checked on a number of current articles using this infobox that it has no unwanted effect. If there are any problems found, please ping me and I'll revert the additions or fix the problem. If this works in a stable manner, I'll update the documentation then. --
RexxS (
talk)
18:19, 2 November 2016 (UTC)
The Infobox racehorse is just one of the Templates created and designed for Thoroughbred racehorses in either flat or steeplechase racing. There are no infoboxes for Standardbred racehorses & racing. This new Standardbred Infoboxmodule setup needs changes to present the four new items in different locations to be sequentially relevant in the same way the Thoroughbred one does. As it stands, the module leaves the Thoroughbred articles using this new box intact in terms of its presentation. However, the additions for Standardbreds is discombobulated and makes for a confusing presentation as well as reading for any editor or viewer who knows even a litle bit about the harness horse industry or anyone who simply looks at or edits a Wikipedia Thoroughbred horse article.
The previous and current racehorse Infobox design is such that any unused item, except those in the Infoboxmodule Standardbred, simply don't show up on the article page. It makes sense to drop the modules and make it all suitable for universal use -- along with these minor adjustments:
This is how such a new consolidated setup would look for Thoroughbreds & Standardbreds:
Infobox racehorse
Standardbreds need a proper Template that is easy to decipher and, like the current one in use for all types of Thoroughbred racing, is readily identifiable. User:White Arabian Filly has put in a lot of effort in this regard and has a nearly-finished Template for Standardbreds here that can easily be finalized by a Template Editor.
Thanks. Mateusz K ( talk) 00:08, 19 December 2016 (UTC)
It appears that RexxS has done just the thing: {{ Infoboxmodule Standardbred}} has all the parameters, and we can add more if needed. Applied at Dan Patch as an example. Yay! Montanabw (talk) 20:01, 24 December 2016 (UTC)
| module = {{Infoboxmodule Standardbred | gait = | driver = | mile_record = | groom = }} I don't think we can move "gait" to appear anywhere else. But if anyone can, it would be RexxS. Montanabw (talk) 21:54, 16 January 2017 (UTC)
We need to add a couple more articles to the see also here, specificially the link to infobox horseracing personality. Montanabw (talk) 00:35, 23 December 2016 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like to add the option for birth and death places to this template, like I did with Template:Infobox named horse. Just a simple conversion like this (wikitext inserted below):
| label9 = Foaled | data9 = {{br separated entries|{{{foaled|}}}|{{{birth_place|}}}}} | label10 = Died | data10 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
Star Garnet ( talk) 19:04, 2 May 2020 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Pleae add foaled_place and death_place in the Check for unknown parameters invocation. The parameters were added in May 2020 but the check has not been updated, resulting in some articles being incorrectly listed at Category:Pages using infobox racehorse with unknown parameters. Aithus ( talk) 00:53, 25 May 2023 (UTC)
Some of the parameters should be wiki-linked as they are not common terms (Dam, Damsire, Sire, Grandsire, Jockey) -- FMSky ( talk) 12:29, 20 June 2023 (UTC)
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Here is the regex I used to do most of the cleanup: s/{{Thoroughbred racehorse infobox\r\| ?Horse Name\s+= ?(.+)\r\| ?Image\s+= ?(.+)\r\| ?Sire\s+= ?(.+)\r\| ?Dam\s+= ?(.+)\r\| ?Damsire\s+= ?(.+)\r\| ?Sex\s+= ?(.+)\r\| ?Foaled\s+= ?(.+)\r\| ?Country\s+= ?(.+)\r\| ?Colour\s+= ?(.+)\r\| ?Breeder\s+= ?(.+)\r\| ?Owner\s+= ?(.+)\r\| ?Trainer\s+= ?(.+)\r\| ?Record\s+= ?(.+)\r\| ?Prizemoney\s+= ?(.+)\r\| ?Race\s+= ?(.+)\r\| ?Year/s\s+= ?(.+)\r\| ?Edit date\s+= ?(.+)\r}}/{{Thoroughbred racehorse infobox\r| name = \1\r| image = \2\r| caption = \r| sire = \3\r| dam = \4\r| damsire = \5\r| sex = \6\r| foaled = \7\r| country = \8\r| colour = \9\r| breeder = \10\r| owner = \11\r| trainer = \12\r| record = \13\r| prize money = \14\r| honors = \r| race = \15\r| year = \16\r| statistics date = \17\r}}/
I think that Handicappers request for assistance may have been slightly misinterpreted. The change has done away with the Major Wins heading and the race details that follow. Each infobox has now been stripped of much of the information that it was seeking to convey. I think that Handicapper was looking for an additional heading of "Honours" to be added underneath the Major wins section. ( dark horse 06:40, 30 August 2006 (UTC))
I did another version today that can be seen at Slew o'Gold. I'd still prefer to have the two bottom boxes without subtitles, just whatever text inserted fit automatically left or centered. However, I have no idea how to do that. Comments and improvements please before utilizing/replacing. Handicapper 19:18, 9 September 2006 (UTC)
Theres an odd formatting bug visible at Sceptre (horse). This horse has 'race' set but not 'awards' or 'honors'. The template inserts an additional blank paragraph above the article. If you put anything in awards, or honors; or take away the race parameter, this misformatting goes away. I had a look at the templates (about which I know nothing - can you make your own to test them?) and the only thing that struck me as odd was this line:
#if:{{{race|}}}{{{awards|}}}{{{honours|}}}...
... every other occurence of pipe symbols is surrounded by <includeonly> tags, these 3 are left alone. Should they have them too? -- Bazzargh ( talk) 00:34, 27 February 2008 (UTC)
Is there any objection to removing this parameter? It seems unrealistic to expect users to update it manually whenever the page is revised. Until I edited them recently, several hundred pages were using templates that would display the current time the user is viewing the page as the time that the page was "last updated," which obviously doesn't make sense and only serves to falsely assure the user that the page is up-to-date when it actually may be missing recent information. I haven't noticed this parameter in any infobox except for those related to horse racing. Propaniac ( talk) 14:59, 28 December 2009 (UTC)
I made some improvements to this template yesterday; { Handicapper reverted them, marking his revert as a minor edit - it was far from that. He says on my talk page:
I reversed your modifications […] as 1) I don't understand its purpose or value, and 2) out of courtesy, such a change should have first been put up for discussion at Wikipedia talk:WikiProject Thoroughbred racing.
Firstly the changes we documented in edit summaries and this template's own documentation (which was not reverted). Secondly, this is a wiki; there is no requirement to obtain prior permission to make edits; especially edits which implement metadata for which there as been consensus across Wikipedia for years.
To be clear: the edits cause the template to display, in the bottom line, the vernacular, or common, name ("Horse") and scientific name of the species; and to emit a microformat containing that data. This tells things like search engines and other tools that the page is about a Horse. For more on microformats, see the microformats project. Accordingly, I've restored the changes. I'm happy to explain further; that's what this page is for. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 18:31, 23 March 2010 (UTC)
I added the alternative to use simply "name" rather than "horsename". The fact that this is the name of the horse should be clear. Let me know if this is a problem. Thanks! Plastikspork ―Œ(talk) 17:05, 14 May 2010 (UTC)
I've seen a parameter for alt text in a number of other infoboxes, and would like to add one for this infobox also.-- Miniapolis ( talk) 17:40, 23 August 2011 (UTC)
|image=[[File:Example.jpg|240px]]
, as opposed to having separate parameters for each item used to specify the image, you can specify the image alt text by adding the relevant parameter inside that, i.e. |image=[[File:Example.jpg|200px|alt=A brown horse]]
.|image_name=
|image_size=
|image_alt=
|image_name=Example.jpg
|image_size=200px
|image_alt=A brown horse
is exactly equivalent to specifying |image=[[File:Example.jpg|200px|alt=A brown horse]]
. Of these, if |image_size=
is omitted it defaults to 240px, and |image_alt=
is optional, so specifying |image_name=Example.jpg
is equivalent to specifying |image=[[File:Example.jpg|240px]]
. --
Redrose64 (
talk)
19:07, 23 August 2011 (UTC)Anyone else feel (as I do) that a death-date parameter would be useful and appropriate? Miniapolis ( talk) 21:46, 14 April 2012 (UTC)
Done as
|death_date=
.
Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits
20:34, 24 April 2015 (UTC)
Now that we are renaming the project to WikiProject Horse racing, we should rename and transclude this template too, but I don't know how to do it, so someone else needs to. I recommend it simply be named "Template:Infobox race horse" or racehorse (don't care which). May need to tweak the /doc subpage too. Montanabw (talk) 20:15, 6 May 2012 (UTC)
{{
infobox thoroughbred racehorse}}
, per
WP:NOTBROKEN. --
Redrose64 (
talk)
22:27, 6 May 2012 (UTC)
The record parameter contains four numbers, in the format "T: W-P-S ".
—[ AlanM1( talk)]— 21:16, 30 December 2012 (UTC)
@ RexxS:I still can't figure out how to properly add parameters, but when editing /info/en/?search=Bamboo_Harvester
I discovered that it might be useful to add two parameters: one for "birth_name" and one either called "othername" or "alt name" I also recommended this for {{ Infobox named horse}}
Many horses have their birth names changed; (e.g. /info/en/?search=Paynter_(horse) was originally named MC's Dream.) Also, many famous horses had well-known nicknames, (e.g. /info/en/?search=Man_o%27_War was "Big Red" , etc...) plus some horses imported between nations and some Olympic-level horses may go through multiple name changes, especially Thoroughbreds who come off the track and are retrained to a different discipline where name changes are allowed.
Another question: Infobox named horse has no color streak at the top, neither does {{ Infobox horse breed}} Seems to be the wave of the future. Should we consider eliminating the tan banner at the top of this template too? We will need to keep some color for the dividing sections to make them clear, but....?
Comments? Thoughts? Montanabw (talk) 07:57, 26 March 2014 (UTC)
|former name=
and |nickname=
? the displayed labels could be pluralised thus: Former name(s).
Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits
10:31, 26 March 2014 (UTC)|birth_name=
, |former_name=
and |nickname=
seems reasonable (or |other_names=
). as does removing the tan banner.
Frietjes (
talk)
16:10, 26 March 2014 (UTC)
I've enabled up to six modules (e.g. child infoboxes) in the template. The first three (|module=
, |module2=
, |module3=
) will appear before "Major wins" and the latter three (|module4=
, |module5=
, |module6=
) at the bottom of the infobox. I've checked on a number of current articles using this infobox that it has no unwanted effect. If there are any problems found, please ping me and I'll revert the additions or fix the problem. If this works in a stable manner, I'll update the documentation then. --
RexxS (
talk)
18:19, 2 November 2016 (UTC)
The Infobox racehorse is just one of the Templates created and designed for Thoroughbred racehorses in either flat or steeplechase racing. There are no infoboxes for Standardbred racehorses & racing. This new Standardbred Infoboxmodule setup needs changes to present the four new items in different locations to be sequentially relevant in the same way the Thoroughbred one does. As it stands, the module leaves the Thoroughbred articles using this new box intact in terms of its presentation. However, the additions for Standardbreds is discombobulated and makes for a confusing presentation as well as reading for any editor or viewer who knows even a litle bit about the harness horse industry or anyone who simply looks at or edits a Wikipedia Thoroughbred horse article.
The previous and current racehorse Infobox design is such that any unused item, except those in the Infoboxmodule Standardbred, simply don't show up on the article page. It makes sense to drop the modules and make it all suitable for universal use -- along with these minor adjustments:
This is how such a new consolidated setup would look for Thoroughbreds & Standardbreds:
Infobox racehorse
Standardbreds need a proper Template that is easy to decipher and, like the current one in use for all types of Thoroughbred racing, is readily identifiable. User:White Arabian Filly has put in a lot of effort in this regard and has a nearly-finished Template for Standardbreds here that can easily be finalized by a Template Editor.
Thanks. Mateusz K ( talk) 00:08, 19 December 2016 (UTC)
It appears that RexxS has done just the thing: {{ Infoboxmodule Standardbred}} has all the parameters, and we can add more if needed. Applied at Dan Patch as an example. Yay! Montanabw (talk) 20:01, 24 December 2016 (UTC)
| module = {{Infoboxmodule Standardbred | gait = | driver = | mile_record = | groom = }} I don't think we can move "gait" to appear anywhere else. But if anyone can, it would be RexxS. Montanabw (talk) 21:54, 16 January 2017 (UTC)
We need to add a couple more articles to the see also here, specificially the link to infobox horseracing personality. Montanabw (talk) 00:35, 23 December 2016 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like to add the option for birth and death places to this template, like I did with Template:Infobox named horse. Just a simple conversion like this (wikitext inserted below):
| label9 = Foaled | data9 = {{br separated entries|{{{foaled|}}}|{{{birth_place|}}}}} | label10 = Died | data10 = {{br separated entries|{{{death_date|}}}|{{{death_place|}}}}}
Star Garnet ( talk) 19:04, 2 May 2020 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Pleae add foaled_place and death_place in the Check for unknown parameters invocation. The parameters were added in May 2020 but the check has not been updated, resulting in some articles being incorrectly listed at Category:Pages using infobox racehorse with unknown parameters. Aithus ( talk) 00:53, 25 May 2023 (UTC)
Some of the parameters should be wiki-linked as they are not common terms (Dam, Damsire, Sire, Grandsire, Jockey) -- FMSky ( talk) 12:29, 20 June 2023 (UTC)