Difference between revisions of "Template:Infobox equestrian/sandbox"
Jump to navigation
Jump to search
imported>Zyxw (Allow automatic conversion of height and weight via Template:Infobox person/height and Template:Infobox person/weight, see examples at Template:Infobox equestrian/testcases.) |
imported>Zyxw (copy of current template) |
||
Line 14: | Line 14: | ||
| header1 = <includeonly>Personal information</includeonly> | | header1 = <includeonly>Personal information</includeonly> | ||
− | | label2 = Native name | + | | label2 = Native name |
| data2 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | | data2 = {{#if:{{{native_name|}}}|<span class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>}} | ||
− | | label3 = Full name | + | | label3 = Full name |
− | | data3 = {{{fullname|}}} | + | | data3 = {{{full_name|{{{fullname|}}}}}} |
| label4 = Other names | | label4 = Other names | ||
Line 56: | Line 56: | ||
| data13 = {{{horse|}}} | | data13 = {{{horse|}}} | ||
− | | header14 = {{#if:{{{url|}}}|Website}} | + | | header14 = {{#if:{{{website|{{{url|}}}}}}|Website}} |
− | | data15 = {{{url|}}} | + | | data15 = {{{website|{{{url|}}}}}} |
| header16 = {{Infobox medal templates | | header16 = {{Infobox medal templates | ||
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 | fullname | height | height_ft | height_in | homecountry | hometown | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | horse | image | image_size | imagesize | medaltemplates | name | nationality | native_name | native_name_lang | other_names | resting_place | resting_place_coordinates | show-medals | url | 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 | full_name | fullname | height | height_ft | height_in | homecountry | hometown | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | horse | image | image_size | imagesize | 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 07:28, 17 November 2018
Script error: No such module "Wikidata". Script error: No such module "Wikidata". |
![]() | This is the template sandbox page for Template:Infobox equestrian (diff). See also the companion subpage for test cases. |
Template:Person infobox header
![]() | This template uses Lua: |
Contents
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
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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() Todd on Gandalf at the 2008 Barbury International Horse Trials | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Personal information | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Full name | Mark James Todd | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Discipline | Eventing | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Born | Cambridge, New Zealand | 1 March 1956||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Medal record
|
{{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
- {{Infobox named horse}}
- {{Infobox racehorse}}
- For articles about breeds and colors
The above documentation is transcluded from Template:Infobox equestrian/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |