Template:Infobox golfer/highest ranking/doc

Usage edit

This template contains a list of the highest ranking reached by golfers in the OWGR. We are currently restricting ourselves to those who've reached the top 100 of the OWGR. See the discussions at Wikipedia talk:WikiProject Golf. Do not add data for those who have never reached the top 100 or data for other golf rankings (eg women, amateurs)

The list of those who've reached the top 100 is intended to be complete, although some golfers from the 1980s/1990s have their entries commented out. This is either because their peak ranking is uncertain or because it is felt that, for those golfers past their prime in 1986, the inclusion is confusing. If you find any missing entries or errors in the data please notify the golf project (via the talk page).

Each line takes the form "|Golfers Name=text". The "Golfer Name" must match the "name" field in the player's infobox. Sometimes the "name" field contains additional text after the player's name: text after the first "<" is stripped away before any comparison is done. To aid efficiency, players are sorted into sections by the first character of their name. So Adam Scott appears in the "A" section. Players with names starting with Q,U,X,Z (eg Zach Johnson) or anything else (eg Álvaro Quirós), appear in a section at the end. Within a section the order of players is unimportant, although generally players are sorted in order of their highest ranking. As noted above some players are commented out. These players have entries starting "<!--".

Weekly update edit

The current rankings are available at http://www.owgr.com/ranking. Older rankings are available at http://www.owgr.com/about?tabID={BBE32113-EBCB-4AD1-82AA-E3FE9741E2D9}.

1. Number 1 edit

The format for players who have reached number 1 is slightly different to the others, eg:

|Tiger Woods=[[List of world number one male golfers|1]] (June 15, 1997)<!--OWGRid=5321--><ref name=w199724>{{cite web |url=http://www.owgr.com/archive/PastRankings/1997/owgr24f1997.pdf |title=Week 24 1997 Ending 15 Jun 1997 |publisher=[[OWGR]] |accessdate=December 20, 2018 |format=pdf}}</ref><br>(683 weeks)<!--mdy-->

which appears in his infobox as:

1 (June 15, 1997)[1]
(683 weeks)

The current number 1 has the addition of an "as of" date:

|Dustin Johnson=[[List of world number one male golfers|1]] (February 19, 2017)<!--OWGRid=12422--><ref name=w201707>{{cite web |url=http://www.owgr.com/archive/PastRankings/2017/owgr07f2017.pdf |title=Week 07 2017 Ending 19 Feb 2017 |publisher=[[OWGR]] |accessdate=December 20, 2018 |format=pdf}}</ref><br>(99 weeks, as of {{Date|2020-10-11|mdy}})<!--mdy-->

which appears in his infobox as:

1 (February 19, 2017)[2]
(99 weeks, as of October 11, 2020)

  • Action required:
    • If the number 1 is the same as the previous week - Increment the number of weeks
    • If the number 1 has changed to a player who has previously been number 1 - Increment the number of weeks for the new number 1. Remove the "as of" section from the previous number 1 and add it to the new number 1
    • If the number 1 has changed to a player who has never been number 1 - Add a "1 week" section to the new number 1. Remove the "as of" section from the previous number 1 and add it to the new number 1

2. Other players in the top 100 edit

Each player needs to be checked to see if they have reached a new high. Only players who have moved up in the rankings need to be checked; indicated by a green chevron. If using http://www.owgr.com/ranking you can click on the player to go their individual page, which has the player's current and best rankings. If the current and best are the same the player will probably have reached a new high, although it may be that they have equalled the previous high (in which case no action is required). A player's previous high can be checked by searching for their entry in this file - eg using Ctrl-F.

  • Action required:
    • If the player already has an entry - update the highest ranking, the date (a Sunday) and the reference. The date and the accessdate in the reference should use the appropriate style (dmy or mdy for US and Canada). All players who have new highs in a particular week will have the same date and reference, so, for the second player you find, these can be copied from the first player (again using the appropriate date style: dmy or mdy).
    • If the player doesn't currently have an entry - add an entry to the appropriate section, based on the first character of their name. The easiest way is to copy the entry from a player who has also reached a new high that week and then make the appropriate changes. The player's "name" must match the "name" field in the player's infobox.

3. Update the "as of" dates edit

All the "as of" dates need updating by a week, so that eg "{{Date|2020-10-11" becomes "{{Date|2020-10-18" throughout the list. To do this reliably it is best to copy the file to an external utilty ("Notepad" is ideal for Windows users), make the change globally (Edit->Replace->Replace All) and then copy it back.

4. Save and check edit

It is best to use the "Show preview" option first. This will detect many syntax problems. Add an appropriate edit summary. Check a few player articles, especially those you have changed. You may need to "purge" pages to show the changes.

Annual update edit

Only players who have reached their highest ranking in the last 5 years or so, have "as of" sections. So every now and then the "as of" sections need removing for players who reached their ranking more than 5 years ago.

References edit

  1. ^ "Week 24 1997 Ending 15 Jun 1997" (pdf). OWGR. Retrieved December 20, 2018.
  2. ^ "Week 07 2017 Ending 19 Feb 2017" (pdf). OWGR. Retrieved December 20, 2018.