Difference between revisions of "Template:Infobox equestrian/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(update example, add category)
imported>Zyxw
(add example, add description of "discipline" parameter)
Line 35: Line 35:
 
| website
 
| website
 
| show-medals
 
| show-medals
| medaltemplates
+
| medals
 
}}
 
}}
<pre style="overflow:auto">
+
 
 +
<pre style="overflow: auto;">
 
{{Infobox equestrian
 
{{Infobox equestrian
| honorific_prefix   =  
+
| honorific_prefix =  
| name               =  
+
| name             =  
| honorific_suffix   =  
+
| honorific_suffix =  
| native_name       =  
+
| native_name     =  
| native_name_lang   =  
+
| native_name_lang =  
| image             =  
+
| image           =  
| image_size         =  
+
| image_size       =  
| alt               =  
+
| alt             =  
| caption           =  
+
| caption         =  
| full_name         =  
+
| full_name       =  
| other_names       =  
+
| other_names     =  
| nationality       =  
+
| nationality     =  
| discipline         =  
+
| discipline       =  
| birth_date         =  
+
| birth_date       =  
| birth_place       =  
+
| birth_place     =  
| death_date         =  
+
| death_date       =  
| death_place       =  
+
| death_place     =  
| resting_place     =  
+
| resting_place   =  
 
| resting_place_coordinates =  
 
| resting_place_coordinates =  
| hometown           =  
+
| hometown         =  
| homecountry       =  
+
| homecountry     =  
| height             =  
+
| height           =  
| weight             =  
+
| weight           =  
| horse             =  
+
| horse           =  
| website           = <!--or | url = -->
+
| website         =  
| show-medals       =  
+
| show-medals     =  
| medaltemplates    =  
+
| medals          =  
 
}}
 
}}
 
</pre>
 
</pre>
 
{{clear}}
 
{{clear}}
  
== Typically unused parameters ==
+
== Parameters ==
<pre style="overflow:auto">
+
; discipline
| image_size     = <!-- use to override default image size -->
+
: [[International Federation for Equestrian Sports|FEI]] disciplines, [[Equestrian at the Summer Olympics|Olympic]]
| height         = <!-- use if height_ft / height_in is not appropriate -->
+
:* [[Dressage]]
| weight         = <!-- use if weight_lbs is not appropriate -->
+
:* [[Eventing]]
 +
:* [[Show jumping]]
 +
: FEI disciplines, non-Olympic
 +
:* [[Combined driving]]
 +
:* [[Endurance riding|Endurance]]
 +
:* [[Horseball]]
 +
:* [[Reining]]
 +
:* [[Tent pegging]]
 +
:* [[Equestrian vaulting|Vaulting]]
 +
:* [[Para-equestrian]]
 +
 
 +
=== Typically unused parameters ===
 +
; image_size : use to override default image size
 +
; height : use if height_ft / height_in is not appropriate
 +
; weight : use if weight_lbs is not appropriate
 +
 
 +
== Example ==
 +
{{Infobox equestrian
 +
| honorific_prefix = Sir
 +
| name            = Mark Todd
 +
| honorific_suffix = {{post-nominals|country=NZL|KNZM|CBE|size=85%}}
 +
| image            = Mark Todd Gandalf Barbury dressage 2008.jpg
 +
| image_size      = 200px
 +
| caption          = Todd on Gandalf at the 2008 Barbury International Horse Trials
 +
| full_name        = Mark James Todd
 +
| discipline      = [[Eventing]]
 +
| birth_date      = {{birth date and age|1956|3|1|df=y}}
 +
| birth_place      = [[Cambridge, New Zealand|Cambridge]], New Zealand
 +
| medals          =
 +
{{MedalSport | [[Equestrianism|Equestrian]] }}
 +
{{MedalCountry| {{NZL}} }}
 +
{{MedalCount | total = yes
 +
| [[Olympic Games]] | 2 | 1 | 3
 +
| [[Eventing World Championships|World Championships]] | 2 | 1 | 1
 +
}}
 +
{{MedalCompetition|[[Equestrian at the Summer Olympics|Olympic Games]]}}
 +
{{MedalGold|[[Equestrian at the 1984 Summer Olympics|1984 Los Angeles]]|[[Equestrian at the 1984 Summer Olympics – Individual eventing|Individual eventing]]}}
 +
{{MedalGold|[[Equestrian at the 1988 Summer Olympics|1988 Seoul]]|[[Equestrian at the 1988 Summer Olympics – Individual eventing|Individual eventing]]}}
 +
{{MedalSilver|[[Equestrian at the 1992 Summer Olympics|1992 Barcelona]]|[[Equestrian at the 1992 Summer Olympics – Team eventing|Team eventing]]}}
 +
{{MedalBronze|[[Equestrian at the 1988 Summer Olympics|1988 Seoul]]|[[Equestrian at the 1988 Summer Olympics – Team eventing|Team eventing]]}}
 +
{{MedalBronze|[[Equestrian at the 2000 Summer Olympics|2000 Sydney]]|[[Equestrian at the 2000 Summer Olympics – Individual eventing|Individual eventing]]}}
 +
{{MedalBronze|[[Equestrian at the 2012 Summer Olympics|2012 London]]|[[Equestrian at the 2012 Summer Olympics – Team eventing|Team eventing]]}}
 +
{{MedalCompetition|[[World Equestrian Games|World Championships]]}}
 +
{{MedalGold|[[1990 World Equestrian Games|1990 Stockholm]]|Team eventing}}
 +
{{MedalGold|[[1998 World Equestrian Games|1998 Rome]]|Team eventing}}
 +
{{MedalSilver|[[1998 World Equestrian Games|1998 Rome]]|Individual eventing}}
 +
{{MedalBronze|[[2010 World Equestrian Games|2010 Lexington]]|Team eventing}}
 +
}}
 +
 
 +
<pre style="overflow: auto; white-space:pre;">
 +
{{Infobox equestrian
 +
| honorific_prefix = Sir
 +
| name            = Mark Todd
 +
| honorific_suffix = {{post-nominals|country=NZL|KNZM|CBE|size=85%}}
 +
| image            = Mark Todd Gandalf Barbury dressage 2008.jpg
 +
| image_size      = 200px
 +
| caption          = Todd on Gandalf at the 2008 Barbury International Horse Trials
 +
| full_name        = Mark James Todd
 +
| discipline      = [[Eventing]]
 +
| birth_date      = {{birth date and age|1956|3|1|df=y}}
 +
| birth_place      = [[Cambridge, New Zealand|Cambridge]], New Zealand
 +
| medals          =
 +
{{MedalSport | [[Equestrianism|Equestrian]] }}
 +
{{MedalCountry| {{NZL}} }}
 +
{{MedalCount | total = yes
 +
| [[Olympic Games]] | 2 | 1 | 3
 +
| [[Eventing World Championships|World Championships]] | 2 | 1 | 1
 +
}}
 +
{{MedalCompetition|[[Equestrian at the Summer Olympics|Olympic Games]]}}
 +
{{MedalGold|[[Equestrian at the 1984 Summer Olympics|1984 Los Angeles]]|[[Equestrian at the 1984 Summer Olympics – Individual eventing|Individual eventing]]}}
 +
{{MedalGold|[[Equestrian at the 1988 Summer Olympics|1988 Seoul]]|[[Equestrian at the 1988 Summer Olympics – Individual eventing|Individual eventing]]}}
 +
{{MedalSilver|[[Equestrian at the 1992 Summer Olympics|1992 Barcelona]]|[[Equestrian at the 1992 Summer Olympics – Team eventing|Team eventing]]}}
 +
{{MedalBronze|[[Equestrian at the 1988 Summer Olympics|1988 Seoul]]|[[Equestrian at the 1988 Summer Olympics – Team eventing|Team eventing]]}}
 +
{{MedalBronze|[[Equestrian at the 2000 Summer Olympics|2000 Sydney]]|[[Equestrian at the 2000 Summer Olympics – Individual eventing|Individual eventing]]}}
 +
{{MedalBronze|[[Equestrian at the 2012 Summer Olympics|2012 London]]|[[Equestrian at the 2012 Summer Olympics – Team eventing|Team eventing]]}}
 +
{{MedalCompetition|[[World Equestrian Games|World Championships]]}}
 +
{{MedalGold|[[1990 World Equestrian Games|1990 Stockholm]]|Team eventing}}
 +
{{MedalGold|[[1998 World Equestrian Games|1998 Rome]]|Team eventing}}
 +
{{MedalSilver|[[1998 World Equestrian Games|1998 Rome]]|Individual eventing}}
 +
{{MedalBronze|[[2010 World Equestrian Games|2010 Lexington]]|Team eventing}}
 +
}}
 
</pre>
 
</pre>
 +
{{clear}}
  
 
== Tracking category ==
 
== Tracking category ==

Revision as of 17:39, 3 December 2018

Template:Uses Wikidata

Usage

Template:Parameter names example

{{Infobox equestrian
| honorific_prefix = 
| name             = 
| honorific_suffix = 
| native_name      = 
| native_name_lang = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| full_name        = 
| other_names      = 
| nationality      = 
| discipline       = 
| birth_date       = 
| birth_place      = 
| death_date       = 
| death_place      = 
| resting_place    = 
| resting_place_coordinates = 
| hometown         = 
| homecountry      = 
| height           = 
| weight           = 
| horse            = 
| website          = 
| show-medals      = 
| medals           = 
}}

Parameters

discipline
FEI disciplines, Olympic
FEI disciplines, non-Olympic

Typically unused parameters

image_size 
use to override default image size
height 
use if height_ft / height_in is not appropriate
weight 
use if weight_lbs is not appropriate

Example

Sir
Mark Todd
Template:Post-nominals
200px
Todd on Gandalf at the 2008 Barbury International Horse Trials
Personal information
Full nameMark James Todd
DisciplineEventing
Born (1956-03-01) 1 March 1956 (age 70)
Cambridge, New Zealand
{{Infobox equestrian
| honorific_prefix = Sir
| name             = Mark Todd
| honorific_suffix = {{post-nominals|country=NZL|KNZM|CBE|size=85%}}
| image            = Mark Todd Gandalf Barbury dressage 2008.jpg
| image_size       = 200px
| caption          = Todd on Gandalf at the 2008 Barbury International Horse Trials
| full_name        = Mark James Todd
| discipline       = [[Eventing]]
| birth_date       = {{birth date and age|1956|3|1|df=y}}
| birth_place      = [[Cambridge, New Zealand|Cambridge]], New Zealand
| medals           = 
{{MedalSport | [[Equestrianism|Equestrian]] }}
{{MedalCountry| {{NZL}} }}
{{MedalCount | total = yes
| [[Olympic Games]] | 2 | 1 | 3
| [[Eventing World Championships|World Championships]] | 2 | 1 | 1
}}
{{MedalCompetition|[[Equestrian at the Summer Olympics|Olympic Games]]}}
{{MedalGold|[[Equestrian at the 1984 Summer Olympics|1984 Los Angeles]]|[[Equestrian at the 1984 Summer Olympics – Individual eventing|Individual eventing]]}}
{{MedalGold|[[Equestrian at the 1988 Summer Olympics|1988 Seoul]]|[[Equestrian at the 1988 Summer Olympics – Individual eventing|Individual eventing]]}}
{{MedalSilver|[[Equestrian at the 1992 Summer Olympics|1992 Barcelona]]|[[Equestrian at the 1992 Summer Olympics – Team eventing|Team eventing]]}}
{{MedalBronze|[[Equestrian at the 1988 Summer Olympics|1988 Seoul]]|[[Equestrian at the 1988 Summer Olympics – Team eventing|Team eventing]]}}
{{MedalBronze|[[Equestrian at the 2000 Summer Olympics|2000 Sydney]]|[[Equestrian at the 2000 Summer Olympics – Individual eventing|Individual eventing]]}}
{{MedalBronze|[[Equestrian at the 2012 Summer Olympics|2012 London]]|[[Equestrian at the 2012 Summer Olympics – Team eventing|Team eventing]]}}
{{MedalCompetition|[[World Equestrian Games|World Championships]]}}
{{MedalGold|[[1990 World Equestrian Games|1990 Stockholm]]|Team eventing}}
{{MedalGold|[[1998 World Equestrian Games|1998 Rome]]|Team eventing}}
{{MedalSilver|[[1998 World Equestrian Games|1998 Rome]]|Individual eventing}}
{{MedalBronze|[[2010 World Equestrian Games|2010 Lexington]]|Team eventing}}
}}

Tracking category

See also

For articles about people
For articles about horses
For articles about breeds and colors