Difference between revisions of "Template:Facebook navbox"

From blackwiki
Jump to navigation Jump to search
imported>Gary
(interwikis in docs)
imported>CowboySpartan
m
Line 20: Line 20:
  
 
| group2 = Employees
 
| group2 = Employees
| list2 = '''Current:''' Mark Zuckerberg (CEO){{·}} [[Chris Cox (Facebook)|Chris Cox]] (VP of Product){{·}} [[Sheryl Sandberg]] (COO){{·}} [[Peter Thiel]] (director){{·}} [[Ted Ullyot]] (general counsel){{·}} '''Former:''' [[Andrew McCollum]] (graphic artist)
+
| list2 = {{navbox subgroup
 +
| groupstyle = background:#3b5998; color:white;
 +
 +
| group1 = Current
 +
| list1 = Mark Zuckerberg (CEO){{·}} [[Chris Cox (Facebook)|Chris Cox]] (VP of Product){{·}} [[Sheryl Sandberg]] (COO){{·}} [[Peter Thiel]] (director){{·}} [[Ted Ullyot]] (general counsel)
 +
| group2 = Former
 +
| list2 = [[Andrew McCollum]] (graphic artist)}}
 
}}
 
}}
  

Revision as of 17:42, 29 October 2010

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