Difference between revisions of "Template:Infobox turf race"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(convert to {{infobox}} for clarity of code and ease of maintenance. if there are any issues with this code drop, before reverting please let me know and I'll try to fix them quickly)
imported>Thumperward
(fixes)
Line 5: Line 5:
  
 
| label1  = Location
 
| label1  = Location
| data1  = {{{location}}}  
+
| data1  = {{{location|}}}  
 
| label2  = Inaugurated
 
| label2  = Inaugurated
 
| data2  = {{{inaugurated|}}}
 
| data2  = {{{inaugurated|}}}
Line 11: Line 11:
 
| data3  = {{{last run|}}}
 
| data3  = {{{last run|}}}
 
| label4  = Race type
 
| label4  = Race type
| data4  = {{{race type}}}
+
| data4  = {{{race type|}}}
 
| label5  = Sponsor
 
| label5  = Sponsor
 
| data5  = {{{sponsor|}}}
 
| data5  = {{{sponsor|}}}

Revision as of 20:44, 1 November 2011


Race information

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Template:Infobox horseraces

{{Infobox horseraces
| class         = 
| horse race    = 
| image         = 
| caption       = 
| location      = 
| inaugurated   = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| last run      = 
| race type     = 
| sponsor       = 
| website       = 
| distance      = 
| record        = 
| surface       = <!-- Turf / Dirt / Synthetic -->
| track         = <!-- Right-handed / Left-handed / Straight -->
| qualification = 
| weight        = 
| purse         = 
| bonuses       = 
}}

Parameters

Separate multiple values using {{Plainlist}} or {{Flatlist}}.

class
horse race
image
caption
location
inaugurated
Use {{Start date}}
last run
race type
sponsor
website
distance
record
surface
Turf / Dirt
track
Right-handed / Left-handed / Straight
qualification 
weight
purse
bonuses

Example

Template:Infobox horseraces

{{Infobox horseraces
|class         = Grade I
|horse race    = Belmont Stakes
|image         = [[File:Belmont8 1999-05.jpg|235px]]
|caption       = The final and longest leg of the United States Triple Crown
|location      = [[Belmont Park]]<br /> [[Elmont, New York|Elmont]], [[New York (state)|New York]] 
|inaugurated   = {{start date and age|1867|p=y}}
|race type     = Thoroughbred
|website       = {{URL|http://www.belmontstakes.com/}}
|distance      = {{convert|1+1/2|mi|furlong}}
|record        = 2:24, [[Secretariat (horse)|Secretariat]] ([[1973 Belmont Stakes|1973]])
|surface       = Dirt
|track         = Left-handed
|qualification = 3-year-olds
|weight        = [[Colt (horse)|Colt]]/[[Gelding]]: {{convert|126|lb}}; [[Filly]]: {{convert|121|lb}}
|purse         = US$1.5 million <br/> 1st: $800,000
|bonuses       = 
}}

Tracking category