Difference between revisions of "Template:Facebook navbox"
Jump to navigation
Jump to search
imported>Paine Ellsworth m (update state= parameter) |
|||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
| name = Facebook navbox | | name = Facebook navbox | ||
| − | | title = [[Facebook]] | + | | title = [[Facebook|{{color|white|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 | ||
Revision as of 18:35, 11 April 2018
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}}
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
- {{Facebook}}
| The above documentation is transcluded from Template:Facebook navbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |