Difference between revisions of "Template:Arizona Diamondbacks"

From blackwiki
Jump to navigation Jump to search
blackwiki>Addbot
m (Bot: Migrating 3 interwiki links, now provided by Wikidata on d:q6685273)
blackwiki>Richiekim
Line 3: Line 3:
 
| title      = [[Arizona Diamondbacks|{{color|#DBCEAC|Arizona Diamondbacks}}]]
 
| title      = [[Arizona Diamondbacks|{{color|#DBCEAC|Arizona Diamondbacks}}]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle = background: #c51230; color:#DBCEAC; border:2px solid black;
+
| titlestyle = background: #c51230; color:#DBCEAC;  
| basestyle  = background: #000000; color:#DBCEAC; border:2px solid #c51230;
+
| basestyle  = background: #000000; color:#DBCEAC;
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
  
Line 82: Line 82:
 
   | state      = collapsed
 
   | state      = collapsed
 
   | title      = Seasons (16)
 
   | title      = Seasons (16)
   | titlestyle = background:#c51230; color:#DBCEAC; border:2px solid black;
+
   | titlestyle = background:#c51230; color:#DBCEAC;  
   | basestyle  = background:#000000; color:#DBCEAC; border:2px solid #c51230
+
   | basestyle  = background:#000000; color:#DBCEAC;  
 
   | groupwidth = 9em
 
   | groupwidth = 9em
  

Revision as of 14:53, 31 March 2013

Initial visibility: currently defaults to autocollapse

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

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