Difference between revisions of "Template:Facebook navbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Dylsss
(Reverted 1 edit by 2601:242:C002:B010:D4B:9730:AA7F:A5C9 (talk): Rv random gibberish)
 
Line 14: Line 14:
  
 
}}</includeonly>
 
}}</includeonly>
 
 
136424 Inde comm,]]≠·[[Special:Contributions/2601:242:C002:B010:D4B:9730:AA7F:A5C9|2601:242:C002:B010:D4B:9730:AA7F:A5C9]] ([[User talk:2601:242:C002:B010:D4B:9730:AA7F:A5C9|talk]]) 10:49, 5 May 2020 (UTC)
 

Latest revision as of 00:12, 19 October 2020

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