Difference between revisions of "Template:Infobox turf race"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(fixes)
imported>Thumperward
(conditional)
Line 5: Line 5:
  
 
| label1  = Location
 
| label1  = Location
| data1  = {{{location|}}}  
+
| data1  = {{{location|}}}
 
| label2  = Inaugurated
 
| label2  = Inaugurated
 
| data2  = {{{inaugurated|}}}
 
| data2  = {{{inaugurated|}}}
Line 17: Line 17:
 
| data6  = {{{website|}}}
 
| data6  = {{{website|}}}
  
| header7 = Race information
+
| header7 = {{#if:{{{distance|}}}{{{track|}}}{{{qualification|}}}{{{weight|}}}{{{purse|}}}{{{bonuses|}}}|Race information}}
  
 
| label8  = Distance
 
| label8  = Distance
| data8  = {{{distance|}}}  
+
| data8  = {{{distance|}}}
 
| label9  = Track
 
| label9  = Track
 
| data9  = {{{track|}}}
 
| data9  = {{{track|}}}

Revision as of 20:45, 1 November 2011


[[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