Difference between revisions of "Template:Infoboxmodule Standardbred/doc"

From blackwiki
Jump to navigation Jump to search
imported>Montanabw
imported>Montanabw
(Update documentation)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
== Usage ==
 
== Usage ==
 
Include this module in a Standardbred racehorse article by adding it within the [[Template:Infobox racehorse]] using its {{para|module}} parameter, like this:
 
Include this module in a Standardbred racehorse article by adding it within the [[Template:Infobox racehorse]] using its {{para|module}} parameter, like this:
<pre>
+
 
 
{{Infobox racehorse
 
{{Infobox racehorse
 +
| horsename = Dan Patch
 +
|image= Danpatch1.jpg
 +
| caption = Dan Patch in harness
 +
| breed = Standardbred
 +
| module1 = {{Infoboxmodule Standardbred
 +
  | gait = [[Pace (horse gait)|Pace]]
 +
  }}
 +
| sire = Joe Patchen
 +
| grandsire = Patchen Wilkes
 +
| dam = Zelica
 +
| damsire = Wilkesberry
 +
| sex = Stallion
 +
| foaled= April 29, 1896
 +
| death_date = July 11, 1916
 +
| country = United States
 +
| color = Dark [[Bay (horse)|bay]]
 +
| breeder = Daniel Messner, Jr.
 +
| owner = Daniel Messner, Jr.<br>Manley E. Sturges (1902)<br>Marion Willis Savage (1902-1916)
 +
| trainer =
 +
| record = undefeated
 +
| earnings  =
 +
| awards =
 +
| honors = [[Harness Racing Museum & Hall of Fame|Harness Racing Hall of Fame]] (1953)<br>Hall of Fame Immortal
 +
| module = {{Infoboxmodule Standardbred
 +
  | driver = John Wattles (1900)<br>Myron McHenry (1901-1903)<br>Harry Hersey (1904-1909)
 +
  | mile_record = 1:55{{frac|1|4}} <br> unofficially 1:55
 +
  | groom =
 +
  }}
 +
|updated=
 +
}}
  
 +
<pre style="overflow:auto; line-height:1.2em;">
 +
{{Infobox racehorse
 +
 +
After the "breed parameter:
 
...
 
...
 
+
| module1 = {{Infoboxmodule Standardbred  <!--gait will only appear after breed if "module1" is specified-->
 +
  | gait = [[Pace (horse gait)|Pace]]
 +
  }}
 
...
 
...
  
 
| module = {{Infoboxmodule Standardbred
 
| module = {{Infoboxmodule Standardbred
  | gait        = gait goes here
 
 
   | driver      = driver goes here
 
   | driver      = driver goes here
 
   | mile_record = mile record goes here
 
   | mile_record = mile record goes here
Line 30: Line 65:
 
}}
 
}}
 
</pre>
 
</pre>
 +
 +
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Latest revision as of 22:51, 16 January 2017

Purpose

This module is intended to expand Template:Infobox racehorse to include the extra parameters required for a Standardbred:

  • Gait
  • Driver
  • Mile record
  • Groom

Usage

Include this module in a Standardbred racehorse article by adding it within the Template:Infobox racehorse using its |module= parameter, like this:

Dan Patch
Danpatch1.jpg
Dan Patch in harness
BreedStandardbred
GaitPace
SireJoe Patchen
GrandsirePatchen Wilkes
DamZelica
DamsireWilkesberry
SexStallion
FoaledApril 29, 1896
DiedJuly 11, 1916
CountryUnited States
ColorDark bay
BreederDaniel Messner, Jr.
OwnerDaniel Messner, Jr.
Manley E. Sturges (1902)
Marion Willis Savage (1902-1916)
Recordundefeated
DriverJohn Wattles (1900)
Myron McHenry (1901-1903)
Harry Hersey (1904-1909)
Mile record1:55​14
unofficially 1:55
Honors
Harness Racing Hall of Fame (1953)
Hall of Fame Immortal
{{Infobox racehorse

After the "breed parameter:
...
| module1 = {{Infoboxmodule Standardbred  <!--gait will only appear after breed if "module1" is specified-->
  | gait = [[Pace (horse gait)|Pace]]	
  }}
...

| module = {{Infoboxmodule Standardbred
  | driver      = driver goes here
  | mile_record = mile record goes here
  | groom       = groom goes here
  }}

...

...

}}