Difference between revisions of "Template:Cuisines/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(updte)
imported>Vanisaac
m (→‎Related templates: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
{{collapsible option |statename=optional |default=collapsed}}
 
{{collapsible option |statename=optional |default=collapsed}}
  
==See also==
+
==Related templates==
 
* [[:Category:Cuisine templates by country|Cuisine templates by country]] (category)
 
* [[:Category:Cuisine templates by country|Cuisine templates by country]] (category)
 
* {{tl|Diets}}
 
* {{tl|Diets}}
 
* {{tl|Lists of prepared foods}}
 
* {{tl|Lists of prepared foods}}
* {{tl|Meals}}
+
* {{tl|Veganism and vegetarianism}}
* {{tl|Vegetarianism}}
+
{{Cuisine sidebars}}
 
+
<includeonly>{{Sandbox other||
<includeonly>
 
 
[[Category:Cuisine templates| ]]
 
[[Category:Cuisine templates| ]]
 
[[Category:Food navigational boxes]]
 
[[Category:Food navigational boxes]]
</includeonly>
+
}}</includeonly>

Latest revision as of 22:28, 24 April 2020

Usage

Add {{Cuisines}} to the appropriate page, below any national templates used in the article.

Initial visibility: currently defaults to collapsed

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

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

Related templates

Meals and dishes

Cuisines

See also