Difference between revisions of "Template:Cuisines"
(fix link) |
imported>TonyTheTiger (adding {{collapsible option}} and/or {{{state}}}) |
||
Line 257: | Line 257: | ||
}}<noinclude> | }}<noinclude> | ||
+ | {{collapsible option}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 04:46, 6 December 2012
Initial visibility: currently defaults to autocollapse
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}}
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
.
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}}
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
- Cuisine templates by country (category)
- {{Diets}}
- {{Lists of prepared foods}}
- {{Veganism and vegetarianism}}
Meals and dishes
Cuisines
- {{American cuisine}}
- {{Argentine cuisine}}
- {{Brazilian cuisine}}
- {{British cuisine}}
- {{Canadian cuisine}}
- {{Chinese cuisine}}
- {{Indian cuisine}}
- {{Italian cuisine}}
- {{Japanese cuisine}}
- {{Korean cuisine}}
- {{Moroccan cuisine}}
- {{Pakistani cuisine}}
See also
- {{Cuisines}}
- {{Meals navbox}}
The above documentation is transcluded from Template:Cuisines/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. |