Template talk:Thoroughbred racehorse infobox
From Wikipedia, the free encyclopedia
[edit] regex
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}}/
[edit] Cleanup??
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))
[edit] Latest version
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)