Difference between revisions of "Template:Baseball"

From blackwiki
Jump to navigation Jump to search
imported>Randy Kryn
(Batting, moved the four types of home run articles to the subsections of 'Home run' with brevity)
imported>Randy Kryn
(moved 'Moonshot' to subsection of 'Home run' ordering for game importance)
Line 90: Line 90:
 
**[[Inside-the-park home run|Inside-the-park]]
 
**[[Inside-the-park home run|Inside-the-park]]
 
**[[Walk-off home run|Walk-off]]
 
**[[Walk-off home run|Walk-off]]
 +
**[[Moonshot (baseball)|Moonshot]]
 
**[[Chinese home run|Chinese]]
 
**[[Chinese home run|Chinese]]
 
* [[Infield hit]]
 
* [[Infield hit]]
Line 95: Line 96:
 
* [[Lefty-righty switch]]
 
* [[Lefty-righty switch]]
 
* [[Line drive]]
 
* [[Line drive]]
* [[Moonshot (baseball)|Moonshot]]
 
 
* [[On-deck]]
 
* [[On-deck]]
 
* [[Plate appearance]]
 
* [[Plate appearance]]

Revision as of 03:09, 20 June 2020

Usage

This template is part of baseball navboxes.

Initial visibility: currently defaults to autocollapse

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

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