Difference between revisions of "Template:Lists of prepared foods/doc"

From blackwiki
Jump to navigation Jump to search
imported>Anna Frodesiak
(explain)
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
I have no idea why I need to do this but: I expanded it. That can be seen by the history of the template. So there! [[User:Anna Frodesiak|Anna Frodesiak]] ([[User talk:Anna Frodesiak|talk]]) 00:20, 16 May 2012 (UTC)
+
{{Documentation subpage}}
 +
<!-- Categories and interwikis go at the bottom of this page. -->
  
[[Category:Wikipedia templates]]
+
== Usage ==
[[Category:Navigational boxes]]
+
* {{tlx|Lists of prepared foods}}
 +
 
 +
{{collapsible option}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
<!-- Categories and interwikis go here: -->
 +
[[Category:Food navigational boxes]]
 +
}}</includeonly>

Latest revision as of 00:09, 26 April 2020

Usage

Initial visibility: currently defaults to autocollapse

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

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