Difference between revisions of "Template:Infobox golfer/doc"
Jump to navigation
Jump to search
imported>Thewarzonechampion (→Usage) |
imported>Tewapack (rev) |
||
| Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
| − | {{generic template demo| name | image | image_size | imagesize | alt | caption | full_name | nickname | birth_date | death_date | height | weight | nationality | residence | spouse | partner | children | birth_place | death_place | college | status | yearpro | retired | tour | extour | prowins | pgawins | eurowins | japwins | + | {{generic template demo| name | image | image_size | imagesize | alt | caption | full_name | nickname | birth_date | death_date | height | weight | nationality | residence | spouse | partner | children | birth_place | death_place | college | status | yearpro | retired | tour | extour | prowins | pgawins | eurowins | japwins | asiawins | sunwins | auswins | nwidewins | chalwins | champwins | seneurowins | lpgawins | letwins | jlpgawins | klpgawins | lagtwins | alpgwins | futwins | otherwins | masters | usopen | open | pga | majorwins | western | titleholders | nabisco | lpga | wusopen | dumaurier | wbritopen | usamateur | britamateur | anainspiration | evian | wghofid | award1 | awardssection | wghofyear | year1 | award2 | year2 | award3 | year3 | award4 | year4 | award5 | year5 | award6 | year6 | award7 | year7 | award8 | year8 | award9 | year9 | award10 | year10}} |
All parameters are optional. | All parameters are optional. | ||
| Line 15: | Line 15: | ||
| image_size = <!-- e.g. 250px (default is 200px) --> | | image_size = <!-- e.g. 250px (default is 200px) --> | ||
| caption = | | caption = | ||
| − | | full_name = | + | | full_name = |
| nickname = | | nickname = | ||
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | ||
| Line 38: | Line 38: | ||
| eurowins = <!-- Number of European Tour wins --> | | eurowins = <!-- Number of European Tour wins --> | ||
| japwins = <!-- Number of Japan Golf Tour wins --> | | japwins = <!-- Number of Japan Golf Tour wins --> | ||
| − | | asiawins = <!-- Number of Asian Tour wins | + | | asiawins = <!-- Number of Asian Tour wins --> |
| − | |||
| sunwins = <!-- Number of Sunshine Tour wins --> | | sunwins = <!-- Number of Sunshine Tour wins --> | ||
| auswins = <!-- Number of PGA Tour of Australasia wins --> | | auswins = <!-- Number of PGA Tour of Australasia wins --> | ||
Revision as of 02:03, 26 May 2020
| This is a documentation subpage for Template:Infobox golfer. It contains usage information, categories and other content that is not part of the original template page. |
| 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 =
| year2 =
| awardssection = <!-- location of awards page or section -->
}}
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 =
| year2 =
| awardssection = <!-- location of awards page or section -->
}}
Add up to 10 different awards.
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