Difference between revisions of "Template:Mayonnaise-based sauces"

From blackwiki
Jump to navigation Jump to search
imported>Cydebot
m (Robot - Speedily moving category Condiment navbox templates to Category:Condiment navigational boxes per CFDS.)
imported>Good Olfactory
(category was renamed)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name      = Mayonnaise-based sauces
 
|name      = Mayonnaise-based sauces
|title      = [[:Category:Sauces of the mayonnaise family|Mayonnaise-based sauces]]
+
|title      = [[:Category:Mayonnaise|Mayonnaise family sauces]]
 
|listclass  = hlist
 
|listclass  = hlist
|state      = autocollapse
+
|state      = {{{state|autocollapse}}}
 
|image      =  
 
|image      =  
 
|above      =  
 
|above      =  
Line 10: Line 10:
 
|list1      =
 
|list1      =
 
* [[Aioli]]
 
* [[Aioli]]
 +
* [[Baconnaise]]
 
* [[Béarnaise sauce]]
 
* [[Béarnaise sauce]]
 
* [[Choron sauce]]
 
* [[Choron sauce]]
Line 19: Line 20:
 
* [[Salad cream]]
 
* [[Salad cream]]
 
* [[Salad dressing spread]]
 
* [[Salad dressing spread]]
* [[Tartare sauce]]  
+
* [[Tartar sauce]]  
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Condiment navigational boxes]]
 
[[Category:Condiment navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 07:20, 2 February 2021

Initial visibility: currently defaults to autocollapse

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

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