Template:Infobox golfer/doc

From The Democratikan Wiki
Revision as of 16:11, 26 November 2023 by wikipedia>Jimmymci234
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]]
{{{caption}}}
Personal information
Full name{{{full_name}}}
Nickname{{{nickname}}}
Born{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Height{{{height}}}
Weight{{{weight}}}
Sporting nationality{{{sporting_nationality}}}
Residence{{{residence}}}
Spouse{{{spouse}}}
Partner{{{partner}}}
Children{{{children}}}
Career
College{{{college}}}
Turned professional{{{yearpro}}}
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}}}
Korn Ferry Tour{{{nwidewins}}}
Challenge Tour{{{chalwins}}}
PGA Tour Champions{{{champwins}}}
European Senior 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}}}
Epson Tour{{{futwins}}}
LIV Golf{{{livwins}}}
Other{{{otherwins}}}
Best results in major championships
(wins: {{{majorwins}}})
Best results in LPGA major championships
(wins: {{{majorwins}}})
Masters Tournament{{{masters}}}
PGA Championship{{{pga}}}
U.S. Open{{{usopen}}}
The Open Championship{{{open}}}
U.S. Amateur{{{usamateur}}}
British Amateur{{{britamateur}}}
Western Open{{{western}}}
Titleholders C'ship{{{titleholders}}}
Chevron Championship{{{anainspiration}}}
Women's PGA C'ship{{{lpga}}}
U.S. Women's Open{{{wusopen}}}
du Maurier Classic{{{dumaurier}}}
Women's British Open{{{wbritopen}}}
Evian Championship{{{evian}}}
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]])

All parameters are optional.

Male

<syntaxhighlight lang="wikitext" style="overflow:auto">

</syntaxhighlight>

Female

<syntaxhighlight lang="wikitext" style="overflow:auto">

</syntaxhighlight>

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

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking category