Difference between revisions of "Template:Golf world number ones (men)"

From blackwiki
Jump to navigation Jump to search
imported>Jrcla2
(conver to WP:HLIST)
imported>Nigej
(prefer)
 
(39 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Golf world number ones (men)
 
|name = Golf world number ones (men)
|title = [[List of World Number One male golfers|World Number One golfers since 1986]]
+
|title = [[List of world number one male golfers|World number one golfers since 1986]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|list1 =  
 
|list1 =  
 
* [[Seve Ballesteros]]
 
* [[Seve Ballesteros]]
 
* [[Fred Couples]]
 
* [[Fred Couples]]
* '''[[Luke Donald]]'''
+
* [[Jason Day]]
 +
* [[Luke Donald]]
 
* [[David Duval]]
 
* [[David Duval]]
 
* [[Ernie Els]]
 
* [[Ernie Els]]
 
* [[Nick Faldo]]
 
* [[Nick Faldo]]
 +
* ''[[Dustin Johnson]]''
 
* [[Martin Kaymer]]
 
* [[Martin Kaymer]]
 +
* [[Brooks Koepka]]
 
* [[Bernhard Langer]]
 
* [[Bernhard Langer]]
 
* [[Tom Lehman]]
 
* [[Tom Lehman]]
Line 16: Line 20:
 
* [[Greg Norman]]
 
* [[Greg Norman]]
 
* [[Nick Price]]
 
* [[Nick Price]]
 +
* [[Jon Rahm]]
 +
* [[Justin Rose]]
 +
* [[Adam Scott (golfer)|Adam Scott]]
 
* [[Vijay Singh]]
 
* [[Vijay Singh]]
 +
* [[Jordan Spieth]]
 +
* [[Justin Thomas]]
 
* [[Lee Westwood]]
 
* [[Lee Westwood]]
 
* [[Tiger Woods]]
 
* [[Tiger Woods]]
 
* [[Ian Woosnam]]
 
* [[Ian Woosnam]]
  
''Player in bold denotes current number one''
+
''Player in italics denotes current number one''
 +
 
 +
|below = [[Official World Golf Ranking]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Golf navigational boxes]]
 
[[Category:Golf navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 09:00, 3 October 2020

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Golf world number ones (men)|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Golf world number ones (men)|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Golf world number ones (men)|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.