Difference between revisions of "Template:Facebook navbox"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Facebook navbox
 
| name      = Facebook navbox
| title    = [[Facebook|{{color|white|Facebook}}]]
+
| title    = [[Facebook]]
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| titlestyle = background: #3b5998; color: #ffffff
 
| basestyle = background: #3b5998; color: #ffffff;
 
  
 
| group1 = Website
 
| group1 = Website
Line 44: Line 41:
 
*[[WhatsApp]]
 
*[[WhatsApp]]
 
*[[Workplace by Facebook|Workplace]]
 
*[[Workplace by Facebook|Workplace]]
 
  
 
   | group2 = Former
 
   | group2 = Former
Line 93: Line 89:
 
*[[Mike Schroepfer]] (CTO)
 
*[[Mike Schroepfer]] (CTO)
  
    | group2 = Former
+
| group2 = Former
 
     | list2  =
 
     | list2  =
 
*[[Sean Parker]] {{Small|(''4%, formerly'')}}
 
*[[Sean Parker]] {{Small|(''4%, formerly'')}}

Revision as of 19:10, 11 April 2018

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