Difference between revisions of "Template:Condiments"

From blackwiki
Jump to navigation Jump to search
imported>Renamed user 0okmnji98u
imported>WOSlinker
(use hlist)
Line 2: Line 2:
 
| name      = Condiments
 
| name      = Condiments
 
| title      = [[Condiment]]s
 
| title      = [[Condiment]]s
| listclass = hlist
+
| bodyclass = hlist
 
| state      = {{{state|}}}
 
| state      = {{{state|}}}
| above      = [[List of condiments]] [[Dip (food)#List of common dips|List of common dips]]
+
| above      =  
 +
* [[List of condiments]]
 +
* [[Dip (food)#List of common dips|List of common dips]]
 
| image      = [[File:Different ketchup in a plate 122425.jpg|128px|Condiments]]
 
| image      = [[File:Different ketchup in a plate 122425.jpg|128px|Condiments]]
  
Line 165: Line 167:
  
 
| below      =
 
| below      =
[[File:Foodlogo2.svg|25px]] [[Portal:Food|Food portal]]{{•}} {{icon|category}} [[:Category:Condiments|Category]]{{•}} {{icon|commons}} [[commons:Category:Condiments|Commons]]{{•}} [[File:People icon.svg|25px]] [[Wikipedia:WikiProject Food and drink|WikiProject Food and drink]]
+
* [[File:Foodlogo2.svg|25px]] [[Portal:Food|Food portal]]
 +
* {{icon|category}} [[:Category:Condiments|Category]]
 +
* {{icon|commons}} [[commons:Category:Condiments|Commons]]
 +
* [[File:People icon.svg|25px]] [[Wikipedia:WikiProject Food and drink|WikiProject Food and drink]]
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:37, 9 January 2017

50px Template documentation[view] [edit] [history] [purge]

Usage

{{Condiments}}

Initial visibility: currently defaults to autocollapse

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

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

See also