Difference between revisions of "Template:Facebook navbox"

From blackwiki
Jump to navigation Jump to search
imported>Pjoef
Line 2: Line 2:
 
| name  = Facebook navbox
 
| name  = Facebook navbox
 
| title = [[Facebook|<font color="white">Facebook</font>]]
 
| title = [[Facebook|<font color="white">Facebook</font>]]
| titlestyle = background:#3b5998; color:white   
+
| titlestyle = background:#3a5980; color:white   
| groupstyle = background:#3b5998; color:white;
+
| groupstyle = background:#3a5980; color:white;
  
 
| group1 = Overview
 
| group1 = Overview
Line 14: Line 14:
  
 
{{navbox subgroup
 
{{navbox subgroup
| groupstyle = background:#3b5998; color:white;
+
| groupstyle = background:#3a5980; color:white;
 
 
 
| group1 = Founders
 
| group1 = Founders
Line 21: Line 21:
 
| group2 = Employees
 
| group2 = Employees
 
| list2 = {{navbox subgroup
 
| list2 = {{navbox subgroup
| groupstyle = background:#3b5998; color:white;
+
| groupstyle = background:#3a5980; color:white;
 
 
 
| group1 = Current
 
| group1 = Current

Revision as of 20:34, 2 January 2011

Template documentation[view] [edit] [history] [purge]

Initial visibility: currently defaults to collapsed

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

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

See also