Difference between revisions of "Template:Kansas City Royals"

From blackwiki
Jump to navigation Jump to search
imported>Muboshgu
Line 3: Line 3:
 
| title      = [[Kansas City Royals|{{color|#FFFFFF|Kansas City Royals}}]]
 
| title      = [[Kansas City Royals|{{color|#FFFFFF|Kansas City Royals}}]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle = background:#27408B; color:#FFFFFF;
+
| titlestyle = background:#01468B; color:#FFFFFF;
| basestyle  = background:#74B4FA; color:#27408B;
+
| basestyle  = background:#74B4FA; color:#01468B;
 
| groupwidth = 9em
 
| groupwidth = 9em
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
  
| above = Based in [[Kansas City, Missouri|{{color|#27408B|Kansas City}}]], [[Missouri|{{color|#27408B|Missouri}}]]
+
| above = Based in [[Kansas City, Missouri|{{color|#01468B|Kansas City}}]], [[Missouri|{{color|#01468B|Missouri}}]]
  
| group2 = [[Kansas City Royals|{{color|#27408B|The franchise}}]]
+
| group2 = [[Kansas City Royals|{{color|#01468B|The franchise}}]]
 
| list2  =
 
| list2  =
 
* [[History of the Kansas City Royals|History]]
 
* [[History of the Kansas City Royals|History]]
Line 131: Line 131:
 
| state      = <noinclude>un</noinclude>collapsed
 
| state      = <noinclude>un</noinclude>collapsed
 
| title      = Seasons (47)
 
| title      = Seasons (47)
| titlestyle = background:#27408B; color:#FFFFFF;
+
| titlestyle = background:#01468B; color:#FFFFFF;
| groupstyle = background:#74B4FA; color:#27408B; width:9em;
+
| groupstyle = background:#74B4FA; color:#01468B; width:9em;
 
| liststyle  = width:auto;
 
| liststyle  = width:auto;
  

Revision as of 04:28, 13 March 2015

Initial visibility: currently defaults to autocollapse

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

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