Difference between revisions of "Template:Infobox golfer"
Jump to navigation
Jump to search
imported>Thumperward (no real need for these overrides) |
imported>Wjemather (Undid revision 287922419 by Thumperward (talk) overrides were put in for a reason.) |
||
| Line 1: | Line 1: | ||
{{ infobox | {{ infobox | ||
| − | | bodyclass | + | | bodyclass = vcard vevent |
| − | | abovestyle = background-color: #ace1af | + | | bodystyle = font-size: 90%; width: 25em |
| − | | aboveclass | + | | abovestyle = background-color: #ace1af; line-height: 1.5em |
| + | | aboveclass = fn summary | ||
| headerstyle = background-color: #ace1af | | headerstyle = background-color: #ace1af | ||
| − | | labelstyle = white-space: nowrap | + | | labelstyle = white-space: nowrap; font-weight: normal; |
| datastyle = font-weight: normal | | datastyle = font-weight: normal | ||
| above = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}} | | above = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}} | ||
| Line 12: | Line 13: | ||
| header1 = {{#if:{{{fullname<includeonly>|</includeonly>}}}{{{nickname|}}}{{{birthdate|}}}{{{deathdate|}}}{{{height|}}}{{{weight|}}}{{{nationality|}}}{{{residence|}}}{{{spouse|}}}{{{partner|}}}{{{children|}}}|Personal information}} | | header1 = {{#if:{{{fullname<includeonly>|</includeonly>}}}{{{nickname|}}}{{{birthdate|}}}{{{deathdate|}}}{{{height|}}}{{{weight|}}}{{{nationality|}}}{{{residence|}}}{{{spouse|}}}{{{partner|}}}{{{children|}}}|Personal information}} | ||
| − | | label2 = Full name | + | | label2 = '''Full name''' |
| data2 = {{{fullname<includeonly>|</includeonly>}}} | | data2 = {{{fullname<includeonly>|</includeonly>}}} | ||
| − | | label3 = Nickname | + | | label3 = '''Nickname''' |
| class3 = nickname | | class3 = nickname | ||
| data3 = {{#if:{{{nickname<includeonly>|</includeonly>}}}|''{{{nickname}}}''}} | | data3 = {{#if:{{{nickname<includeonly>|</includeonly>}}}|''{{{nickname}}}''}} | ||
| − | | label4 = Born | + | | label4 = '''Born''' |
| data4 = {{{birthdate<includeonly>|</includeonly>}}}{{#if:{{{birthplace<includeonly>|</includeonly>}}}|<br />{{{birthplace}}} }} | | data4 = {{{birthdate<includeonly>|</includeonly>}}}{{#if:{{{birthplace<includeonly>|</includeonly>}}}|<br />{{{birthplace}}} }} | ||
| − | | label5 = Died | + | | label5 = '''Died''' |
| data5 = {{{deathdate<includeonly>|</includeonly>}}}{{#if:{{{deathplace<includeonly>|</includeonly>}}}|<br />{{{deathplace}}} }} | | data5 = {{{deathdate<includeonly>|</includeonly>}}}{{#if:{{{deathplace<includeonly>|</includeonly>}}}|<br />{{{deathplace}}} }} | ||
| − | | label6 = Height | + | | label6 = '''Height''' |
| data6 = {{{height<includeonly>|</includeonly>}}} | | data6 = {{{height<includeonly>|</includeonly>}}} | ||
| − | | label7 = Weight | + | | label7 = '''Weight''' |
| data7 = {{{weight<includeonly>|</includeonly>}}} | | data7 = {{{weight<includeonly>|</includeonly>}}} | ||
| − | | label8 = Nationality | + | | label8 = '''Nationality''' |
| data8 = {{{nationality<includeonly>|</includeonly>}}} | | data8 = {{{nationality<includeonly>|</includeonly>}}} | ||
| − | | label9 = Residence | + | | label9 = '''Residence''' |
| data9 = {{{residence<includeonly>|</includeonly>}}} | | data9 = {{{residence<includeonly>|</includeonly>}}} | ||
| − | | label10 = Spouse | + | | label10 = '''Spouse''' |
| data10 = {{{spouse<includeonly>|</includeonly>}}} | | data10 = {{{spouse<includeonly>|</includeonly>}}} | ||
| − | | label11 = Partner | + | | label11 = '''Partner''' |
| data11 = {{{partner<includeonly>|</includeonly>}}} | | data11 = {{{partner<includeonly>|</includeonly>}}} | ||
| − | | label12 = Children | + | | label12 = '''Children''' |
| data12 = {{{children<includeonly>|</includeonly>}}} | | data12 = {{{children<includeonly>|</includeonly>}}} | ||
| header13 = {{#if:{{{college<includeonly>|</includeonly>}}}{{{status|}}}{{{yearpro|}}}{{{retired|}}}{{{tour}}}{{{extour}}}{{{prowins}}}|Career}} | | header13 = {{#if:{{{college<includeonly>|</includeonly>}}}{{{status|}}}{{{yearpro|}}}{{{retired|}}}{{{tour}}}{{{extour}}}{{{prowins}}}|Career}} | ||
| − | | label14 = College | + | | label14 = '''College''' |
| data14 = {{{college<includeonly>|</includeonly>}}} | | data14 = {{{college<includeonly>|</includeonly>}}} | ||
| − | | label15 = Status | + | | label15 = '''Status''' |
| data15 = {{#if:{{{yearpro}}}| |{{{status}}} }} | | data15 = {{#if:{{{yearpro}}}| |{{{status}}} }} | ||
| − | | label16 = Turned professional | + | | label16 = '''Turned professional''' |
| data16 = {{{yearpro<includeonly>|</includeonly>}}} | | data16 = {{{yearpro<includeonly>|</includeonly>}}} | ||
| − | | label17 = Retired | + | | label17 = '''Retired''' |
| data17 = {{{retired<includeonly>|</includeonly>}}} | | data17 = {{{retired<includeonly>|</includeonly>}}} | ||
| − | | label18 = Current tour(s) | + | | label18 = '''Current tour(s)''' |
| data18 = {{{tour<includeonly>|</includeonly>}}} | | data18 = {{{tour<includeonly>|</includeonly>}}} | ||
| − | | label19 = Former tour(s) | + | | label19 = '''Former tour(s)''' |
| data19 = {{{extour<includeonly>|</includeonly>}}} | | data19 = {{{extour<includeonly>|</includeonly>}}} | ||
| − | | label20 = Professional wins | + | | label20 = '''Professional wins''' |
| data20 = {{{prowins<includeonly>|</includeonly>}}} | | data20 = {{{prowins<includeonly>|</includeonly>}}} | ||
| Line 89: | Line 90: | ||
| label38 = Futures Tour | | label38 = Futures Tour | ||
| data38 = {{{futwins<includeonly>|</includeonly>}}} | | data38 = {{{futwins<includeonly>|</includeonly>}}} | ||
| − | | label39 = {{#if:{{{pgawins<includeonly>|</includeonly>}}}{{{eurowins|}}}{{{japwins|}}}{{{asiawins|}}}{{{sunwins|}}}{{{auswins|}}}{{{nwidewins|}}}{{{chalwins|}}}{{{champwins|}}}{{{seneurowins|}}}{{{lpgawins|}}}{{{letwins|}}}{{{jlpgawins|}}}{{{klpgawins|}}}{{{lagtwins|}}}{{{alpgwins|}}}{{{futwins|}}}{{{champwins|}}}{{{seneurowins|}}}|Other|Major tour wins}} | + | | label39 = {{#if:{{{pgawins<includeonly>|</includeonly>}}}{{{eurowins|}}}{{{japwins|}}}{{{asiawins|}}}{{{sunwins|}}}{{{auswins|}}}{{{nwidewins|}}}{{{chalwins|}}}{{{champwins|}}}{{{seneurowins|}}}{{{lpgawins|}}}{{{letwins|}}}{{{jlpgawins|}}}{{{klpgawins|}}}{{{lagtwins|}}}{{{alpgwins|}}}{{{futwins|}}}{{{champwins|}}}{{{seneurowins|}}}|Other|'''Major tour wins'''}} |
| data39 = {{{otherwins<includeonly>|</includeonly>}}} | | data39 = {{{otherwins<includeonly>|</includeonly>}}} | ||
Revision as of 21:13, 4 May 2009
| {{{name}}} | |
|---|---|
| [[Image:{{{image}}}|200px]] {{{caption}}} | |
| Personal information | |
| Full name | {{{fullname}}} |
| Nickname | {{{nickname}}} |
| Born | {{{birthdate}}} {{{birthplace}}} |
| Died | {{{deathdate}}} {{{deathplace}}} |
| Height | {{{height}}} |
| Weight | {{{weight}}} |
| Nationality | {{{nationality}}} |
| Residence | {{{residence}}} |
| Spouse | {{{spouse}}} |
| Partner | {{{partner}}} |
| Children | {{{children}}} |
| Career | |
| College | {{{college}}} |
| Turned professional | {{{yearpro}}} |
| Retired | {{{retired}}} |
| Current tour(s) | {{{tour}}} |
| Former tour(s) | {{{extour}}} |
| Professional wins | {{{prowins}}} |
| Number of wins by tour | |
| PGA Tour | {{{pgawins}}} |
| European Tour | {{{eurowins}}} |
| Japan Golf Tour | {{{japwins}}} |
| Asian Tour | {{{asiawins}}} |
| Sunshine Tour | {{{sunwins}}} |
| PGA Tour of Australasia | {{{auswins}}} |
| Nationwide Tour | {{{nwidewins}}} |
| Challenge Tour | {{{chalwins}}} |
| Champions Tour | {{{champwins}}} |
| European Seniors Tour | {{{seneurowins}}} |
| LPGA Tour | {{{lpgawins}}} |
| Ladies European Tour | {{{letwins}}} |
| LPGA of Japan Tour | {{{jlpgawins}}} |
| LPGA of Korea Tour | {{{klpgawins}}} |
| Ladies Asian Golf Tour | {{{lagtwins}}} |
| ALPG Tour | {{{alpgwins}}} |
| Futures Tour | {{{futwins}}} |
| Other | {{{otherwins}}} |
| Best results in Major Championships | |
| Best results in LPGA Major Championships | |
| The Masters | {{{masters}}} |
| U.S. Open | {{{usopen}}} |
| Open Championship | {{{open}}} |
| PGA Championship | {{{pga}}} |
| U.S. Amateur | {{{usamateur}}} |
| British Amateur | {{{britamateur}}} |
| Western Open | {{{western}}} |
| Titleholders C'ship | {{{titleholders}}} |
| Kraft Nabisco C'ship | {{{nabisco}}} |
| LPGA Championship | {{{lpga}}} |
| U.S. Women's Open | {{{wusopen}}} |
| du Maurier Classic | {{{dumaurier}}} |
| Women's British Open | {{{wbritopen}}} |
| Achievements and awards | |
| World Golf Hall of Fame | {{{wghofyear}}} (member page) |
| {{{award1}}} | {{{year1}}} |
| {{{award2}}} | {{{year2}}} |
| {{{award3}}} | {{{year3}}} |
| {{{award4}}} | {{{year4}}} |
| {{{award5}}} | {{{year5}}} |
| {{{award6}}} | {{{year6}}} |
| {{{award7}}} | {{{year7}}} |
| {{{award8}}} | {{{year8}}} |
| {{{award9}}} | {{{year9}}} |
| {{{award10}}} | {{{year10}}} |
| (For a full list of awards, see [[{{{awardssection}}}|here]]) | |
[[Category:Infobox templates|Template:Remove first word]]
| This template is used on approximately 3,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template uses Lua: |
Usage
- redirect Template:Parameter names example
All parameters are optional.
Male
{{Infobox golfer
| name = <!-- if omitted, defaults to the article title -->
| image =
| image_size = <!-- e.g. 250px (default is 200px) -->
| caption =
| full_name =
| nickname =
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place =
| height = <!-- X ft Y in, X cm OR X m; the template will automatically convert (otherwise {{convert}} can be used) -->
| weight = <!-- X st Y lb, X lb OR X kg; the template will automatically convert (otherwise {{convert}} can be used) -->
| nationality =
| residence =
| spouse =
| partner =
| children =
| college =
| status = <!-- Amateur or Professional (when year turned pro unknown)-->
| yearpro = <!-- Year turned professional -->
| retired = <!-- Year retired -->
| tour = <!-- Current tours which a member of -->
| extour = <!-- Former tours which a member of -->
| prowins = <!-- Number of professional victories -->
| pgawins = <!-- Number of PGA Tour wins -->
| eurowins = <!-- Number of European Tour wins -->
| japwins = <!-- Number of Japan Golf Tour wins -->
| asiawins = <!-- Number of Asian Tour wins -->
| sunwins = <!-- Number of Sunshine Tour wins -->
| auswins = <!-- Number of PGA Tour of Australasia wins -->
| nwidewins = <!-- Number of Korn Ferry Tour (Web.com/Nationwide Tour) wins -->
| chalwins = <!-- Number of Challenge Tour wins -->
| champwins = <!-- Number of PGA Tour Champions wins -->
| seneurowins = <!-- Number of European Senior Tour wins -->
| otherwins = <!-- Number of Other wins -->
| majorwins = <!-- Number of Major Championship wins -->
| masters = <!-- Best finish & year - Masters Tournament -->
| pga = <!-- Best finish & year - PGA Championship -->
| usopen = <!-- Best finish & year - U.S. Open -->
| open = <!-- Best finish & year - Open Championship -->
| wghofid = <!-- World Golf Hall of Fame member ID -->
| wghofyear = <!-- World Golf Hall of Fame year inducted -->
| award1 = <!-- Achievement or award details -->
| year1 = <!-- Year(s) of achievement or award -->
| award2 = <!-- Add up to 10 different awards -->
| year2 =
| awardssection = <!-- location of awards page or section -->
| show-medals = <!-- "yes" to display, hidden by default -->
| medaltemplates = <!-- for displaying golf medals won in multi-sport events -->
}}
Female
{{Infobox golfer
| name = <!-- if omitted, defaults to the article title -->
| image =
| image_size = <!-- Optional, default is 200px -->
| caption =
| full_name =
| nickname =
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place =
| death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} -->
| death_place =
| height = <!-- X ft Y in, X cm OR X m; the template will automatically convert (otherwise {{convert}} can be used) -->
| weight =
| nationality =
| residence =
| spouse =
| partner =
| children =
| college =
| status = <!-- Amateur or Professional (when year turned pro unknown)-->
| yearpro = <!-- Year turned professional -->
| retired = <!-- Year retired -->
| tour = <!-- Current tours which a member of -->
| extour = <!-- Former tours which a member of -->
| prowins = <!-- Number of professional victories -->
| lpgawins = <!-- Number of LPGA Tour wins -->
| letwins = <!-- Number of Ladies European Tour wins -->
| jlpgawins = <!-- LPGA of Japan Tour wins -->
| klpgawins = <!-- LPGA of Korea Tour wins -->
| lagtwins = <!-- Number of Ladies Asian Golf Tour wins -->
| alpgwins = <!-- Number of ALPG Tour wins -->
| futwins = <!-- Number of Symetra Tour wins -->
| otherwins = <!-- Number of Other wins -->
| majorwins = <!-- Number of Major Championship wins -->
| western = <!-- Best finish & year - Western Open (women only) -->
| titleholders = <!-- Best finish & year - Titleholders C'ship (women only) -->
| anainspiration = <!-- Best finish & year - ANA Inspiration (former Kraft Nabisco Championship, women only) -->
| lpga = <!-- Best finish & year - Women's PGA Championship (former LPGA Championship, women only) -->
| wusopen = <!-- Best finish & year - U.S. Women's Open (women only) -->
| dumaurier = <!-- Best finish & year - du Maurier Classic (women only) -->
| wbritopen = <!-- Best finish & year - Women's British Open (women only) -->
| evian = <!-- Best finish & year - The Evian Championship (women only) -->
| wghofid = <!-- World Golf Hall of Fame member ID -->
| wghofyear = <!-- World Golf Hall of Fame year inducted -->
| award1 = <!-- Achievement or award details -->
| year1 = <!-- Year(s) of achievement or award -->
| award2 = <!-- Add up to 10 different awards -->
| year2 =
| awardssection = <!-- location of awards page or section -->
| show-medals = <!-- "yes" to display, hidden by default -->
| medaltemplates = <!-- for displaying golf medals won in multi-sport events -->
}}
Highest ranking
The infobox contains a "Highest ranking" field. Data for this field is not stored in the player's infobox but in a separate file: Template:Infobox golfer/highest ranking.
Microformat
Tracking category
| The above documentation is transcluded from Template:Infobox golfer/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. |