Difference between revisions of "Template:Footer MensMajors"

From blackwiki
Jump to navigation Jump to search
imported>TheGreenGiant23
m
imported>ViperSnake151
(do not downplay gender)
 
(26 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Footer MensMajors
+
| name     = Footer MensMajors
|title = [[Men's major golf championships|Major Golf Championships]]
+
| title     = [[Men's major golf championships]]
|list1 = [[Masters Tournament|The Masters]]{{·}} [[U.S. Open (golf)|U.S. Open]]{{·}} [[The Open Championship|The Open Championship]]{{·}} [[PGA Championship|PGA Championship]]{{·}} [[List of men's major championships winning golfers|Most Wins]]{{·}} [[Chronological list of men's major golf champions|Chronological]]
+
| state    = {{{state|autocollapse}}}
 +
| listclass = hlist
  
|below = '''Former Majors:''' [[The Amateur Championship|British Amateur]]{{·}} [[United States Amateur Championship (golf)|U.S. Amateur]] '''Related Events''' [[South African Open (golf)|South African Open]]{{·}}[[Canadian Open]] '''See also''': [[Grand Slam (golf)|Grand Slam]] · [[Triple Crown of Golf|Triple Crown]]
+
| group1 = Current
 +
| list1  =
 +
* [[Masters Tournament]]
 +
* [[PGA Championship]]
 +
* [[U.S. Open (golf)|U.S. Open]]
 +
* [[The Open Championship]]
 +
| group2 = Past
 +
| list2  =
 +
* [[The Amateur Championship|British Amateur]]
 +
* [[United States Amateur Championship (golf)|U.S. Amateur]]
 +
| group3 = See also
 +
| list3  =
 +
* [[List of men's major championships winning golfers|Most wins]]
 +
* [[Chronological list of men's major golf champions|Chronological]]
 +
* [[Grand Slam (golf)|Grand Slam]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Golf major championships navbox templates|{{PAGENAME}}]]
+
{{collapsible option}}
 +
[[Category:Golf major championships navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:27, 20 June 2019

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Footer MensMajors|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Footer MensMajors|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Footer MensMajors|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.