قالب:Infobox golfer/doc
This is a documentation subpage for قالب:Infobox golfer It may contain usage information, categories and other content that is not part of the original قالب page. |
Usage
[تعديل]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 = | fullname = | 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 Web.com Tour (Nationwide Tour) wins --> | chalwins = <!-- Number of Challenge Tour wins --> | champwins = <!-- Number of Champions Tour wins --> | seneurowins = <!-- Number of European Seniors Tour wins --> | otherwins = <!-- Number of Other wins --> | majorwins = <!-- Number of Major Championship wins --> | masters = <!-- Best finish & year - Masters Tournament --> | usopen = <!-- Best finish & year - U.S. Open --> | open = <!-- Best finish & year - Open Championship --> | pga = <!-- Best finish & year - PGA 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 = | fullname = | 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.
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.