Difference between revisions of "Template:1882 Chicago White Stockings"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jenks24
(use listclass = hlist in navbox as per WP:HLIST)
m (9 revisions imported)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Navbox
+
{{Baseball navbox
 
| name  = 1882 Chicago White Stockings
 
| name  = 1882 Chicago White Stockings
| title = [[Chicago Cubs|<font color="white">Chicago White Stockings</font>]] [[1882 Chicago White Stockings season|<font color="white">1882</font>]] [[National League|<font color="white">National League</font>]] Champions
+
| title = [[Chicago Cubs|<span style="color:white;">Chicago White Stockings</span>]] [[1882 Chicago White Stockings season|<span style="color:white;">1882</span>]] [[National League|<span style="color:white;">National League</span>]] champions
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| titlestyle = background:#0e3386; color:white;
 
| titlestyle = background:#0e3386; color:white;
Line 16: Line 17:
 
* [[Joe Quest]]
 
* [[Joe Quest]]
 
* [[Ned Williamson]]
 
* [[Ned Williamson]]
* <br/>Manager: [[Cap Anson]]
+
|list2=
 +
* Manager: [[Cap Anson]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:National League championship navigational boxes]]
 
[[Category:National League championship navigational boxes]]
 
[[Category:Chicago Cubs templates]]
 
[[Category:Chicago Cubs templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:43, 2 October 2020

Initial visibility: currently defaults to autocollapse

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

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