Difference between revisions of "Template:Infobox equestrian"

From blackwiki
Jump to navigation Jump to search
imported>Celia Homeford
(That's only going to work if there's a way of turning it off when there's another image in the same infobox. See Zara Tindall for an example of two images showing otherwise.)
 
(One intermediate revision by one other user not shown)
Line 39: Line 39:
  
 
| label10      = Home town
 
| label10      = Home town
| data10      = {{#if:{{{hometown|}}}{{{homecountry|}}}|{{{hometown|}}}, {{{homecountry|}}}}}
+
| data10      = {{#if:{{{hometown|}}}|{{{hometown|}}}}}
  
 
| label11      = Height
 
| label11      = Height
Line 64: Line 64:
 
   }}
 
   }}
  
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox equestrian with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox equestrian]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | birth_date | birth_place | caption | death_date | death_place | discipline | full_name | fullname | height | height_ft | height_in | homecountry | hometown | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | horse | image | image_size | imagesize | medals | medals-expand | medaltemplates | name | nationality | native_name | native_name_lang | other_names | resting_place | resting_place_coordinates | show-medals | url | website | weight | weight_lb | weight_lbs }}<noinclude>{{documentation}}</noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox equestrian with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox equestrian]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | birth_date | birth_place | caption | death_date | death_place | discipline | embed | full_name | fullname | height | height_ft | height_in | homecountry | hometown | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | horse | image | image_size | imagesize | medals | medals-expand | medaltemplates | name | nationality | native_name | native_name_lang | other_names | resting_place | resting_place_coordinates | show-medals | url | website | weight | weight_lb | weight_lbs }}<noinclude>{{documentation}}</noinclude>

Latest revision as of 11:42, 1 October 2019

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

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

Template:Person infobox header

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
[[Category:Infobox templates|Template:Remove first word]]
{{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